/* Unified Button Design System - Exhibz Square Evolution */

:root {
    --btn-primary-gradient: linear-gradient(90deg, #ff006e 0%, #3a0ca3 100%);
    --btn-hover-glow: rgba(255, 0, 110, 0.4);
    --btn-font-family: 'Poppins', sans-serif;
}

/* Global Button Override and Unified Class */
/* Global Button Override and Unified Class */
.btn,
.unified-btn,
#button-won-style .btn,
#button-won-style a.btn,
.banner-btn a.btn,
.cta-btn-modern,
.button-87,
button.btn,
input[type="submit"].btn,
input[type="button"].btn,
.ticket-btn,
.submission-submit-btn,
.submission-download-btn,
.ts-btn,
.btn-icon,
.view-all,
.btn-primary,
.btn-secondary,
.btn-info,
.btn-success,
.btn-warning,
.btn-danger,
button:not(.navbar-toggler):not([class^="swal2-"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--btn-primary-gradient) !important;
    color: #fff !important;
    font-family: var(--btn-font-family) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    /* Adjusted for 50px height */
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    padding: 0 20px !important;
    height: 60px !important;
    min-height: 60px !important;
    line-height: 60px !important;
    border-radius: 0px !important;
    /* FORCED SQUARE */
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    outline: none !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

/* Hover Effects - Consistently applied to all */
.btn:hover,
.unified-btn:hover,
#button-won-style .btn:hover,
#button-won-style a.btn:hover,
.banner-btn a.btn:hover,
.cta-btn-modern:hover,
.button-87:hover,
button.btn:hover,
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
.ticket-btn:hover,
.submission-submit-btn:hover,
.submission-download-btn:hover,
.ts-btn:hover,
.btn-icon:hover,
.view-all:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-info:hover,
.btn-success:hover,
.btn-warning:hover,
.btn-danger:hover,
button:not(.navbar-toggler):not([class^="swal2-"]):hover {
    color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px var(--btn-hover-glow) !important;
    background: var(--btn-primary-gradient) !important;
}

/* Square Background Utility for Sections */
.square-section,
.card,
.modal-content,
.dropdown-menu {
    border-radius: 0px !important;
}

/* Active/Focus State */
.btn:active,
.unified-btn:active {
    transform: translateY(-1px) !important;
}

/* Handle nested spans often found in this template's buttons */
.btn span,
.unified-btn span {
    color: #fff !important;
    background: transparent !important;
    -webkit-text-fill-color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure wrappers don't break the design */
#button-won-style,
.banner-btn,
.nv-reg,
.abstract-btn {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: inline-block !important;
    border-radius: 0px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .btn,
    .unified-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

/* SweetAlert2 Specific Overrides to ensure only OK button is shown */
.swal2-shown .swal2-container .swal2-deny,
.swal2-shown .swal2-container .swal2-cancel {
    display: none !important;
}

.swal2-shown .swal2-container .swal2-confirm {
    background-color: #e7015e !important;
    height: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    padding: 12px 30px !important;
    box-shadow: none !important;
    transform: none !important;
    border-radius: 4px !important;
}