/**
 * DNA Romance Signup Button Styles
 * Recovered from DNAR repository
 * Created: 2025-09-08
 * Purpose: Restore original DNA Romance signup button styles
 */

/* Base btnn class - rounded border button */
.btnn {
    border: 1px solid #fff;
    display: inline-block;
    padding: 10px 29px;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    text-decoration: none !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    cursor: pointer;
}

/* DNA Romance brand colors for btnn */
.btnn.btn-primary,
.btnn.btn-accent {
    background-color: #f23ead;
    border-color: #f23ead;
    color: #fff;
}

.btnn.btn-primary:hover,
.btnn.btn-accent:hover {
    background-color: #d91872;
    border-color: #d91872;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 62, 173, 0.4);
}

/* btn-join-now - prominent CTA button */
.btn-join-now {
    background-color: #d33284 !important;
    color: #fff !important;
    min-width: 200px;
    font-weight: 700;
    padding: 15px 30px;
    white-space: nowrap;
    margin-top: 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-decoration: none !important;
}

.btn-join-now:hover {
    background-color: #b32a6e !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(211, 50, 132, 0.5);
    color: #fff !important;
}

/* Style overrides for signup links */
a[href*="signup-landing"] {
    text-decoration: none !important;
}

/* Navbar signup link style */
.navbar-nav a[href*="signup-landing"],
.navbar-nav a[href*="signup-landing"] {
    color: #e60000 !important;
    font-weight: 600;
}

.navbar-nav a[href*="signup-landing"]:hover,
.navbar-nav a[href*="signup-landing"]:hover {
    color: #cc0000 !important;
    text-decoration: none !important;
}

/* DNA Romance profile link style */
a[href*="signup-landing"][style*="#F43996"] {
    color: #F43996 !important;
}

/* Buttons with DNA Romance pink background */
.btnn[style*="background-color:#f23ead"],
a[style*="background-color:#f23ead"] {
    background-color: #f23ead !important;
    border-color: #f23ead !important;
    color: #fff !important;
}

.btnn[style*="background-color:#f23ead"]:hover,
a[style*="background-color:#f23ead"]:hover {
    background-color: #d91872 !important;
    border-color: #d91872 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 62, 173, 0.4);
}

/* Bootstrap button overrides for DNA Romance */
.btn-danger.btn-join-now {
    background-color: #d33284 !important;
    border-color: #d33284 !important;
}

.btn-danger.btn-join-now:hover {
    background-color: #b32a6e !important;
    border-color: #b32a6e !important;
}

/* Login link style (blue) */
.navbar-nav a[href*="login-landing"] {
    color: blue !important;
    font-weight: 600;
}

.navbar-nav a[href*="login-landing"]:hover {
    color: #0000cc !important;
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .btn-join-now {
        min-width: 150px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btnn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Additional DNA Romance specific button variations */
.btn-dna-primary {
    background-color: #0F75BD !important;
    border-color: #0F75BD !important;
    color: #fff !important;
}

.btn-dna-primary:hover {
    background-color: #0a5a91 !important;
    border-color: #0a5a91 !important;
}

/* Glass effect for modern look while keeping DNA Romance colors */
.btn-dna-glass {
    background: rgba(242, 62, 173, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(242, 62, 173, 0.3) !important;
    color: #f23ead !important;
}

.btn-dna-glass:hover {
    background: rgba(242, 62, 173, 0.2) !important;
    border-color: rgba(242, 62, 173, 0.5) !important;
    transform: translateY(-2px);
}

/* Ensure proper stacking and visibility */
.btn-join-now,
.btnn {
    position: relative;
    z-index: 1;
}

/* Fix for buttons with inline styles */
a.btnn[style],
a.btn[style],
.btn-join-now[style] {
    transition: all 0.3s ease-in-out !important;
}

/* Specific fix for hero section CTAs */
.hero-section .btnn,
.hero-section .btn-join-now,
.banner-content .btnn,
.banner-content .btn-join-now {
    margin: 10px 5px;
}

/* Fix button focus states */
.btnn:focus,
.btn-join-now:focus {
    outline: 2px solid #f23ead;
    outline-offset: 2px;
}

/* Ensure buttons are clickable and visible */
.btnn,
.btn-join-now {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Apply DNA Romance styles to current button classes */
.btn-dna.btn-dna--primary,
.btn-dna--primary {
    background-color: #f23ead !important;
    border-color: #f23ead !important;
    color: #fff !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    border-radius: 25px !important;
    transition: all 0.3s ease-in-out;
}

.btn-dna.btn-dna--primary:hover,
.btn-dna--primary:hover {
    background-color: #d91872 !important;
    border-color: #d91872 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 62, 173, 0.4);
}

/* Style custom-style links as DNA Romance buttons */
.custom-style-29bcd606,
a.custom-style-29bcd606 {
    background-color: #f23ead !important;
    border: 1px solid #f23ead !important;
    color: #fff !important;
    display: inline-block !important;
    padding: 10px 29px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    border-radius: 25px !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
}

.custom-style-29bcd606:hover,
a.custom-style-29bcd606:hover {
    background-color: #d91872 !important;
    border-color: #d91872 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 62, 173, 0.4);
}

/* Override any conflicting button styles */
.btn-dna,
.btn-dna--glass,
.btn-ripple {
    position: relative;
    overflow: hidden;
}

/* Ensure DNA Romance pink is applied to primary CTAs */
.hero-modern__cta .btn-dna--primary,
.banner3-content .btn-dna--primary,
section .btn-dna--primary {
    background: linear-gradient(135deg, #f23ead 0%, #d91872 100%) !important;
    border: none !important;
}

/* Fix for navbar signup links */
.navbar .dropdown-item[href*="signup-landing"],
.navbar-nav a[href*="signup-landing"]:not(.dropdown-item) {
    color: #e60000 !important;
    font-weight: 600 !important;
}

.navbar .dropdown-item[href*="signup-landing"]:hover,
.navbar-nav a[href*="signup-landing"]:not(.dropdown-item):hover {
    color: #cc0000 !important;
    background-color: rgba(230, 0, 0, 0.1) !important;
}