
/* NoviStage Login Page Styling */
.novistage-login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    font-family: 'Poppins', sans-serif;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Login Form */
.login-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: 3rem 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.back-to-home {
    position: absolute;
    top: -1rem;
    left: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.back-link:hover {
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    text-decoration: none;
    transform: translateX(-2px);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-1px);
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.login-brand i {
    font-size: 2rem;
    color: #ff851c;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #00aff0 0%, #55cc38 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.login-subtitle {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
}

.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    font-family: 'Poppins', sans-serif;
}

/* Specific styling for form inputs to optimize text size */
.form-control-lg {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}

/* Password input container with toggle button */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.password-toggle-btn:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.password-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.form-input:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.button-container {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.login-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #ff851c;
    color: white !important;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: block;
    position: relative;
    z-index: 10;
    min-height: 50px;
}

.login-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 133, 28, 0.3);
}

.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.help-text {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Right Side - Hero */
.login-hero-section {
    flex: 1;
    background: linear-gradient(135deg, #211d3e 0%, #7746c0 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 auto 3rem auto;
    max-width: 400px;
    line-height: 1.6;
    text-align: center;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 380px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 1.25rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-text strong {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text span {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Floating Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.4);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.icon-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.icon-2 {
    top: 70%;
    right: 8%;
    animation-delay: 2s;
}

.icon-3 {
    bottom: 20%;
    left: 12%;
    animation-delay: 4s;
}

.icon-4 {
    top: 35%;
    right: 5%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Alert Styling */
.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #4ade80;
    color: #16a34a;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #f87171;
    color: #dc2626;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-form-section {
        order: 2;
        padding: 1.5rem;
    }

    .login-hero-section {
        order: 1;
        min-height: 250px;
        padding: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-features {
        display: none;
    }

    .login-card {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .login-form-section {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem 1rem;
    }

    .back-to-home {
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }

    .login-header {
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .login-hero-section {
        min-height: 200px;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1rem;
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .login-form-section {
        padding: 0.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .login-hero-section {
        min-height: 150px;
        padding: 1rem;
    }
}
