/* WERN Login Form Styles */

.wern-login-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 420px;
    margin: 0 auto;
    backdrop-filter: blur(100px);
}

.wern-logo {
    text-align: center;
    margin-bottom: 15px;
}

.wern-logo h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 4px;
    color: white;
    margin: 0 0 3px 0;
}

.wern-tagline {
    font-size: 14px;
    color: white;
    font-weight: 300;
    letter-spacing: 1px;
}

.wern-form-group {
    margin-bottom: 12px;
}

.wern-label {
    color: white;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.wern-input-wrapper {
    position: relative;
}

.wern-input {
    width: 100%;
    padding: 10px 35px 10px 14px;
    background: #e8edf5;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #1a2332;
    outline: none;
    transition: all 0.3s ease;
}

.wern-input:focus {
    background: white;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.wern-input::placeholder {
    color: #64748b;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px;
}

.toggle-password svg {
    width: 18px;
    height: 18px;
    fill: #64748b;
}

.wern-btn {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.wern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.wern-btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.wern-btn-secondary:hover {
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.recent-login {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
     display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.recent-login svg {
    width: 14px;
    height: 14px;
    fill: #94a3b8;
    flex-shrink: 0;
}

.wern-divider {
    margin: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.access-section {
    text-align: center;
}

.access-title {
    font-size: 18px;
    color: white;
    font-weight: 600;
    margin-bottom: 6px;
}

.access-subtitle {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* Video Section Styles */
.wern-hero-video {
    position: absolute;
    top: 159px;
    left: 83px;
    width: 1130px;
    object-fit: cover;
    z-index: 11;
    border-radius: 10px;
}

.xb-video-frame .xb-img {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wern-login-container {
        padding: 18px 20px;
        max-width: 100%;
    }

    .wern-logo h1 {
        font-size: 30px;
    }

    .wern-tagline {
        font-size: 13px;
    }

    .wern-input {
        font-size: 13px;
        padding: 9px 32px 9px 12px;
    }

    .wern-btn {
        padding: 10px;
        font-size: 14px;
    }

    .recent-login {
        font-size: 9px;
        padding: 7px;
    }

    .access-title {
        font-size: 16px;
    }

    .access-subtitle {
        font-size: 11px;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wern-login-container.wow {
    animation: fadeIn 0.8s ease-out;
}

/* Focus States for Accessibility */
.wern-input:focus-visible,
.wern-btn:focus-visible,
.toggle-password:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading State */
.wern-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.wern-btn.loading::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
