/*
=========================================
FINAL & REFINED AUTHENTICATION STYLES
=========================================
*/

/* Reset and Body */
body {
    background-color: #ffffff; /* The form side is white */
    font-family: 'Figtree', sans-serif;
    overflow: hidden;
    margin: 0;
}

/* Main Auth Container - Full Bleed */
.auth-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Brand Panel */
.auth-brand-container {
    width: 50%;
    background-color: #111827; /* Dark blue/gray */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background particles */
@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.background-animation span {
    width: 25vmin;
    height: 25vmin;
    border-radius: 50%;
    backface-visibility: hidden;
    position: absolute;
    animation: move;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    opacity: 0.15;
}
.background-animation span:nth-child(0) { top: 10%; left: 70%; background: #FA9F00; animation-duration: 50s; }
.background-animation span:nth-child(1) { top: 60%; left: 10%; background: #fd7e14; animation-duration: 60s; }
.background-animation span:nth-child(2) { top: 30%; left: 50%; display: none; }
.background-animation span:nth-child(3) { top: 80%; left: 80%; background: #fd7e14; animation-duration: 40s; }
.background-animation span:nth-child(4) { top: 40%; left: 20%; background: #FFD100; animation-duration: 70s; }


.auth-brand {
    text-align: center;
    color: white;
    z-index: 10;
    padding: 2.5rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-logo img {
    max-width: 90px;
    height: auto;
    margin-bottom: 1rem;
}

.auth-brand-name {
    font-size: 2rem;
    font-weight: 700;
}

.auth-brand-tagline {
    font-size: 1rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

/* Right Form Panel */
.auth-form-container {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 26rem;
}

.auth-form-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

.auth-form-subtitle {
    text-align: center;
    color: #6b7280;
    margin-top: 0.5rem;
    margin-bottom: 3rem; /* Increased spacing */
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem; /* Increased spacing */
}

.auth-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 1.15rem 1rem 1.15rem 3.25rem;
    font-size: 1rem;
    border-radius: 0.65rem; /* Final adjustment to match screenshot */
    border: 1px solid #e5e7eb; /* Subtle border */
    background-color: #f9fafb; /* Clean, light background */
    color: #111827;
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: #FA9F00;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(250, 159, 0, 0.15); /* More subtle shadow */
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    transition: color 0.2s ease;
}

.auth-input:focus + .input-icon {
    color: #FA9F00;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.auth-checkbox {
    border-radius: 0.375rem;
    border-color: #d1d5db;
    color: #FA9F00;
}

.auth-link {
    font-size: 0.875rem;
    color: #FA9F00;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.15rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #FA9F00, #FFD100); /* Dashboard Button Gradient */
    border: none;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(255, 96, 0, 0.4); /* Shadow to match gradient */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-brand-container {
        display: none;
    }
    .auth-form-container {
        width: 100%;
    }
}

/* Helper classes from Blade components */
.mt-2 { margin-top: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-2 { margin-left: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.text-gray-600 { color: #4b5563; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Employee Manage Page Modern Consistent Design Overhaul */
:root {
    --card-radius: 14px;
    --card-padding: 24px;
    --section-gap: 24px;
    --row-gap: 16px;
    --input-radius: 8px;
    --btn-radius: 8px;
    --btn-height: 38px;
    --font-size-base: 15px;
    --font-family-base: inherit;
    --font-weight-bold: 700;
    --font-weight-normal: 400;
    --color-bg: #fff;
    --color-border: #e5e7eb;
    --color-shadow: 0 2px 16px rgba(0,0,0,0.06);
    --color-primary: #FA9F00;
    --color-primary-dark: #FF6000;
    --color-text: inherit;
    --color-muted: #7b809a;
    --color-badge-active: #FA9F00;
    --color-badge-inactive: #e0e0e0;
    --color-badge-inactive-text: #888;
}
body, .card-flush, .user-list-item, .table, .btn, .form-control, input, select, textarea {
    font-family: var(--font-family-base);
    color: var(--color-text);
    font-size: var(--font-size-base);
}
.card-flush {
    box-shadow: var(--color-shadow);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
    background: var(--color-bg);
    margin-bottom: var(--section-gap);
}
.card-header, .card-body {
    padding-left: 0;
    padding-right: 0;
}
.card-header {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 12px;
}
.card-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}
.user-list-item {
    min-height: 44px;
    border-radius: var(--input-radius);
    font-size: var(--font-size-base);
    padding: 8px 10px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    transition: background 0.18s, border 0.18s;
    cursor: pointer;
    border: 2px solid transparent;
}
.user-list-item.bg-primary, .user-list-item.selected {
    border: 2px solid var(--color-primary);
    background: rgba(0,159,253,0.08) !important;
}
.user-list-item:hover {
    background: #f0f6ff;
    transition: background 0.18s;
}
.user-list-avatar {
    border-radius: 50%;
    border: 2px solid #f1f3f9;
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-right: 10px;
}
.user-list-item .badge {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 8px;
    margin-left: 8px;
    font-weight: var(--font-weight-bold);
}
.user-list-item .badge-success {
    background: var(--color-badge-active);
    color: #fff;
}
.user-list-item .badge-secondary {
    background: var(--color-badge-inactive);
    color: var(--color-badge-inactive-text);
}
.bg-light {
    border-radius: 12px !important;
    background: #f8fafc !important;
}
.filter-bar .form-control, .filter-bar .btn {
    border-radius: var(--input-radius);
    font-size: var(--font-size-base);
    height: var(--btn-height);
}
.filter-bar .btn {
    padding: 0 18px;
    font-weight: var(--font-weight-bold);
}
.bg-light[style*="overflow-y: auto"]::-webkit-scrollbar {
    width: 7px;
}
.bg-light[style*="overflow-y: auto"]::-webkit-scrollbar-thumb {
    background: #e0e7ef;
    border-radius: 8px;
}
.table thead th {
    font-weight: var(--font-weight-bold);
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    color: #fff !important;
    border: none;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 10px 14px !important;
}
.table td, .table th {
    padding: 8px 12px !important;
    font-size: var(--font-size-base);
    border-color: var(--color-border) !important;
}
.table-sm td, .table-sm th {
    padding: 6px 10px !important;
    font-size: 14px;
}
.table tbody tr:nth-child(even) {
    background: #f8fafc;
}
.table tbody tr:hover {
    background: #f0f6ff;
}
.btn-primary, .btn-primary:focus, .btn-primary:active {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,159,253,0.08);
    border-radius: var(--btn-radius) !important;
    font-size: var(--font-size-base);
    height: var(--btn-height);
    padding: 0 18px;
    font-weight: var(--font-weight-bold);
    transition: background 0.18s;
}
.btn-primary:hover {
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 100%) !important;
    color: #fff !important;
}
input, select, textarea, .form-control, .btn, .badge {
    border-radius: var(--input-radius) !important;
    font-size: var(--font-size-base);
}
.card-flush > .card-body > .row > div + div {
    border-left: 1px solid var(--color-border);
    padding-left: var(--section-gap);
}
@media (max-width: 991px) {
    .card-flush {
        padding-left: 16px;
        padding-right: 16px;
    }
    .card-flush > .card-body > .row {
        flex-direction: column;
        gap: 20px;
    }
    .card-flush > .card-body > .row > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
/* Chart tweaks */
#combinedChart {
    max-height: 180px;
    margin-bottom: 28px;
}
/* Section spacing */
.card-body > .row {
    gap: var(--section-gap);
}
.card-body > .row > div {
    margin-bottom: 0;
}
/* Headings and labels */
.metric-label {
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}
.metric-value {
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
}
.user-list-email {
    font-size: 13px;
    color: var(--color-muted);
} 