/* ============================================
   REGISTRATION PAGE MOBILE OPTIMIZATION
   ============================================ */

@media (max-width: 768px) {

/* FIX: Body не трябва да блокира кликвания */
body {
    pointer-events: auto !important;
    touch-action: pan-y pinch-zoom !important;
}

/* FIX: Navbar и Mobile Menu защита */
.navbar-glassmorphism {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.navbar-glassmorphism * {
    pointer-events: auto !important;
}

.mobile-toggler-glass {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10001 !important;
    position: relative !important;
    touch-action: manipulation !important;
}

.mobile-toggler-glass span {
    pointer-events: none !important;
}

.navbar-nav-section-glass {
    z-index: 9998 !important;
    pointer-events: auto !important;
}

/* Overlay за отворено меню */
.vote-overlay-glass,
.navbar-nav-section-glass.active {
    z-index: 9997 !important;
    pointer-events: auto !important;
}

/* Auth бутони - full width на мобилни */
.auth-buttons-glass {
    width: 100% !important;
    padding: 0 15px !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.auth-link-glass {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    min-height: 50px !important;
    border-radius: 12px !important;
}

/* Hero Section */
.hero {
    padding-top: 80px !important;
    min-height: 100vh !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Ако hero има ::before или ::after overlay, не трябва да блокира navbar */
.hero::before,
.hero::after {
    pointer-events: none !important;
}

.hero .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Card */
.card {
    padding: 30px 20px !important;
    max-width: 90% !important;
}

.card-title {
    font-size: 1.5rem !important;
    color: #ffffff !important;
}

/* Form Controls */
.form-control {
    font-size: 16px !important;
    padding: 14px 16px !important;
    min-height: 50px !important;
}

/* Form Labels - чисто бели */
.form-label {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

/* Terms Checkbox Container */
.form-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 25px !important;
    background: rgb(255, 255, 255) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 20px !important;
}

/* Checkbox Input */
.form-check-input {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    margin-top: 2px !important;
    border: 2px solid #4b9f3e !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
}

/* Checkbox - Checked state */
.form-check-input:checked {
    background-color: #4b9f3e !important;
    border-color: #4b9f3e !important;
    background-image: none !important;
}

/* Checkmark визуализация */
.form-check-input:checked::before {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

/* Focus state */
.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(75, 159, 62, 0.25) !important;
    border-color: #4b9f3e !important;
    outline: none !important;
}

/* Terms Label - тъмно сив текст */
.terms-label {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #2c3e50 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    flex: 1 !important;
}

/* Terms Link */
.terms-link {
    color: #4b9f3e !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.terms-link:hover {
    color: #3a9b4a !important;
}

/* Button */
.card .btn-success {
    padding: 16px !important;
    font-size: 16px !important;
    min-height: 50px !important;
    font-weight: 700 !important;
}

/* Links */
.card .small {
    font-size: 0.9rem !important;
}

/* Spacing adjustments */
.card .mb-3 {
    margin-bottom: 20px !important;
}

} /* End @media (max-width: 768px) */

