/*
 * Copyright 2025 Santosh Kumar Konda Balraj
 * 
 * PROPRIETARY SOFTWARE - ALL RIGHTS RESERVED
 * 
 * This software and associated documentation files (the "Software") are
 * proprietary to Santosh Kumar Konda Balraj and are protected by copyright
 * laws and international copyright treaties.
 * 
 * The Software is licensed, not sold. This license does not grant you any
 * rights to use, copy, modify, or distribute the Software without explicit
 * written permission from Santosh Kumar Konda Balraj.
 * 
 * Plantrix AI Digital Supply Chain Platform
 * Trademark: "Plantrix" is a registered trademark of PLANTRIX CORPORATION LLC
 * 
 * For licensing inquiries, contact: santosh244ster@gmail.com
 * 
 * This file is part of the Plantrix AI Platform, a proprietary AI-powered
 * digital supply chain management solution built on Apache Airflow 2.10.4.
 * 
 * NOTICE: This software contains components originally based on:
 * - puckel/docker-airflow (Apache License 2.0)
 * - Apache Airflow (Apache License 2.0)
 * 
 * Original copyrights and licenses are preserved in the ATTRIBUTION.md file.
 */


.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

#notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#notification-container .toast {
    width: 100%;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toast.bg-success {
    background-color: #28a745 !important;
}

.toast.bg-danger {
    background-color: #dc3545 !important;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background-color: #3498db;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: #2c3e50;
}

.form-check {
    margin: 1rem 0;
}

.form-check-label {
    color: #7f8c8d;
    cursor: pointer;
}

.nav-tabs {
    border: none;
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
    border: none;
    color: #7f8c8d;
    font-weight: 500;
    padding: 1rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #3498db;
    background: none;
    border-bottom: 2px solid #3498db;
}

.nav-tabs .nav-link:hover {
    color: #3498db;
}

.alert {
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: #7f8c8d;
}

.auth-footer a {
    color: #3498db;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Face ID button styles */
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* Face ID status badge */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Profile page styles */
#profile-content .card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#profile-content .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

#profile-content .btn {
    transition: all 0.3s ease;
}

#profile-content .btn:hover {
    transform: translateY(-1px);
}

/* Alert styles for profile */
#profile-alerts .alert {
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .form-control {
        padding: 10px;
    }
    
    #profile-content .d-grid.gap-2.d-md-flex {
        flex-direction: column;
    }
    
    #profile-content .btn {
        margin-bottom: 0.5rem;
    }
}