/* Extracted from views/register.php */
.register-background-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -2;
        background-image: url('assets/img/logo/rnflagge.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        opacity: 0.12;
        filter: blur(3px);
        transform: scale(1.05);
        pointer-events: none;
        animation: subtleZoom 30s ease-in-out infinite alternate;
    }
    
    @keyframes subtleZoom {
        0% { transform: scale(1.05); }
        100% { transform: scale(1.1); }
    }
    
    .register-gradient-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.7) 100%);
        pointer-events: none;
    }
    
    .page-register {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        padding-bottom: 100px;
        position: relative;
        z-index: 1;
    }
    
    .register-card {
        width: 100%;
        max-width: 480px;
        padding: 50px 40px;
        background: linear-gradient(145deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.99));
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        box-shadow: 
            0 25px 80px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        position: relative;
        overflow: hidden;
    }
    
    .register-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, #d32f2f, #ff5252, #d32f2f, transparent);
        opacity: 0.8;
    }
    
    .register-header {
        text-align: center;
        margin-bottom: 35px;
    }
    
    .register-logo {
        width: 110px;
        height: 110px;
        margin: 0 auto 25px;
    }
    
    .register-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 0 25px rgba(211, 47, 47, 0.5));
        animation: logoPulse 3s ease-in-out infinite;
    }
    
    @keyframes logoPulse {
        0%, 100% { filter: drop-shadow(0 0 25px rgba(211, 47, 47, 0.5)); }
        50% { filter: drop-shadow(0 0 40px rgba(211, 47, 47, 0.7)); }
    }
    
    .register-title {
        font-family: var(--font-primary);
        font-size: 1.8rem;
        font-weight: 900;
        color: white;
        margin: 0;
        letter-spacing: 4px;
        text-shadow: 0 0 30px rgba(211, 47, 47, 0.5);
    }
    
    .register-subtitle {
        font-family: var(--font-primary);
        color: #888;
        margin-top: 8px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .register-card .divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        margin: 25px 0;
    }
    
    .register-card .form-group {
        margin-bottom: 20px;
        position: relative;
    }
    
    .register-card .form-label {
        display: block;
        margin-bottom: 8px;
        color: #999;
        font-size: 0.75rem;
       
        letter-spacing: 2px;
        text-transform: uppercase;
    }
    
    .register-card input,
    .register-card select {
        width: 100%;
        padding: 15px 18px;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: white;
       
        font-size: 0.95rem;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    
    .register-card input:focus,
    .register-card select:focus {
        outline: none;
        border-color: #d32f2f;
        background: rgba(211, 47, 47, 0.05);
        box-shadow: 0 0 20px rgba(211, 47, 47, 0.2);
    }
    
    .register-card input::placeholder {
        color: #555;
    }
    
    .register-card select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        padding-right: 40px;
    }
    
    .register-card select option {
        background: #1a1a1a;
        color: white;
        padding: 10px;
    }
    
    .register-card select optgroup {
        background: #111;
        color: #d32f2f;
        font-weight: bold;
    }
    
    .register-card .ct-input {
        letter-spacing: 3px;
        font-weight: 600;
    }
    
    .register-card .ct-input.valid {
        border-color: #4CAF50 !important;
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.3) !important;
    }
    
    .register-card .form-hint {
        color: #666;
        font-size: 0.7rem;
        margin-top: 8px;
        display: block;
       
        letter-spacing: 0.5px;
    }
    
    .register-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
        border: none;
        border-radius: 12px;
        color: white;
       
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 3px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        margin-top: 15px;
    }
    
    .register-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .register-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4);
    }
    
    .register-btn:hover::before {
        left: 100%;
    }
    
    .register-btn:active {
        transform: translateY(0);
    }
    
    .register-link {
        text-align: center;
        margin-top: 25px;
        color: #666;
        font-size: 0.85rem;
       
    }
    
    .register-link a {
        color: #d32f2f;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .register-link a:hover {
        color: #ff5252;
        text-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
    }
    
    .alert-error {
        background: rgba(211, 47, 47, 0.15);
        border: 1px solid rgba(211, 47, 47, 0.3);
        color: #ff8a80;
        padding: 15px 20px;
        margin-bottom: 25px;
        border-radius: 10px;
        text-align: center;
        font-size: 0.85rem;
       
    }
    
    .alert-success {
        background: rgba(76, 175, 80, 0.15);
        border: 1px solid rgba(76, 175, 80, 0.3);
        color: #a5d6a7;
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 10px;
        text-align: center;
        font-size: 0.85rem;
       
        line-height: 1.6;
    }
    
    .alert-success a {
        display: inline-block;
        margin-top: 15px;
        color: white;
        text-decoration: none;
        padding: 10px 25px;
        background: linear-gradient(135deg, #4CAF50 0%, #2e7d32 100%);
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .alert-success a:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
    }
    
    /* Ticker */
    .register-ticker {
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 700px;
        text-align: center;
       
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
        background: rgba(0, 0, 0, 0.7);
        padding: 15px 25px;
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 1000;
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .register-ticker .ticker-prefix {
        color: #d32f2f;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    .register-ticker #ticker-text {
        transition: opacity 0.5s ease-in-out;
        opacity: 1;
    }
    
    /* Responsive */
    @media (max-width: 480px) {
        .register-card {
            padding: 35px 25px;
            border-radius: 16px;
        }
        
        .register-title {
            font-size: 1.5rem;
            letter-spacing: 2px;
        }
        
        .register-ticker {
            font-size: 0.7rem;
            padding: 12px 20px;
            flex-direction: column;
            gap: 5px;
        }
    }
