:root {
    --primary: #874b05; /* Text/Labels */
    --secondary: #058776; /* Buttons/Hover */
    --accent: #ffe600; /* Icons */
    --error: #dc3545; /* Error messages */
    --success: #28a745; /* Success messages */
}

/* Base Styles */
body {
    font-family: 'Figtree', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #212529;
}

/* Auth Page Layout */
.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#bg-video {
    display: none;
}

.auth-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
}

.auth-card {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: none;
    border: none;
}

.logo {
    display: block;
    margin: 0 auto 2rem;
    max-width: 180px;
    height: auto;
}

/* Top Right Icons */
.top-right-icons {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 2;
    color: #058776 !important;
}

.rounded-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: #058776 !important;

}



/* Typography */
.card-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.25rem rgba(5, 135, 118, 0.25);
}

.input-group-text {
    background-color: #fff;
    border-color: #ced4da;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #046a5e;
    border-color: #046a5e;
}

.btn-outline-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    color: white;
}


/* Validation */
.invalid-feedback {
    display: none;
    color: var(--error);
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: var(--error) !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Password Toggle */
.toggle-password {
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-password:hover {
    background-color: rgba(5, 135, 118, 0.1);
}

/* Alerts */
.alert {
    border-radius: 0.375rem;
    padding: 0.75rem 1.25rem;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: var(--error);
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: var(--success);
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
    
    .logo {
        max-width: 140px;
    }
    
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .top-right-icons {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.5rem;
    }

    .rounded-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Links */
a.text-secondary {
    text-decoration: underline;
    transition: color 0.2s ease;
}

a.text-secondary:hover {
    color: var(--primary) !important;
}