/* Login Page Specific Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    position: relative;
    overflow: hidden;
}

.login-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.login-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.login-wave .shape-fill {
    fill: rgba(255, 255, 255, 0.8);
}

.login-content {
    display: flex;
    flex: 1;
    z-index: 10;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.login-left {
    flex: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.5rem 0 0;
    color: white;
    max-width: 780px;
}

.brand-section {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.brand-section::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #764ba2);
    margin: 1rem auto;
    border-radius: 2px;
}

.logo-img {
    width: 160px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    margin-bottom: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border: none;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.login-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, white, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card.contact-card-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 0.8rem;
    text-align: left;
}

.feature-card.contact-card-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: white;
    text-align: center;
}

.contact-info-small {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-item-small {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item-small i {
    width: 20px;
    text-align: center;
    margin-top: 2px;
    font-size: 0.9rem;
}

.address-text-small {
    flex: 1;
    line-height: 1.3;
    font-size: 0.8rem;
}



.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    width: 24px;
    text-align: center;
    margin-top: 3px;
    font-size: 1.1rem;
}


.login-right {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 1.5rem;
}


.login-form-container {
    background: white;
    border-radius: 20px;
    padding: 1.25rem;
    width: 100%;
    max-width: 580px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666;
    font-size: 1rem;
}

.flash-messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-error {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-warning {
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    z-index: 1;
}

.input-with-icon input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #e2e8f0;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #6366f1;
}

.checkbox-container input:checked ~ .checkmark:after {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-signin {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 1rem;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 42, 108, 0.3);
    color: white;
}

.social-login {
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 1rem;
    position: relative;
}

.social-login p:before,
.social-login p:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e2e8f0;
}

.social-login p:before {
    left: 0;
}

.social-login p:after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn.google {
    background: #DB4437;
}

.social-btn.microsoft {
    background: #00BCF2;
}

.social-btn.apple {
    background: #000000;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-footer {
    text-align: center;
    padding: 1rem;
    color: white;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    margin-top: auto;
    flex-shrink: 0;
    position: relative;
    width: 100%;
}

.login-footer p {
    margin: 0.25rem 0;
    font-size: 0.85rem;
}

.developer-name {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .login-content {
        flex-direction: column;
        padding: 1rem 1.25rem;
        max-width: 100%;
        gap: 1.5rem;
    }
    
    .login-left {
        padding: 1rem 0.5rem;
        max-width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .login-right {
        padding: 0.5rem;
        flex: 1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .logo-img {
        width: 150px;
    }
    
    .contact-card {
        margin-top: 1rem;
        padding: 1.2rem;
    }
}

@media (max-width: 992px) {
    .login-wave svg {
        height: 80px;
    }
    
    .login-left h1 {
        font-size: 2.2rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .login-form-container {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .logo-img {
        width: 120px;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .login-content {
        padding: 0.75rem 1rem;
    }
    
    .login-form-container {
        padding: 1.25rem;
    }
    
    .login-left h1 {
        font-size: 2rem;
    }
    
    .form-header h2 {
        font-size: 1.4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .logo-img {
        width: 110px;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .address-text {
        font-size: 0.75rem;
    }
    
    .contact-card {
        padding: 0.8rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
}
@media (max-width: 480px) {
    .login-content {
        padding: 0.5rem 0.75rem;
    }
    
    .login-form-container {
        padding: 1rem;
    }
    
    .login-left h1 {
        font-size: 1.8rem;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .logo-img {
        width: 90px;
    }
    
    .contact-item {
        font-size: 0.75rem;
    }
    
    .address-text {
        font-size: 0.7rem;
    }
    
    .contact-card {
        padding: 0.75rem;
    }
    
    .contact-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .login-footer p {
        font-size: 0.7rem;
    }
}
