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

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background: #000;
}

/* Background Section */
.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s ease-in-out infinite;
}

@keyframes zoomIn {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 43, 97, 0.5) 0%, rgba(198, 144, 47, 0.3) 100%);
    backdrop-filter: blur(5px);
    z-index: 2;
}

/* Particles Animation */
.animated-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Login Container */
.login-container {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    top: 0;
    left: 0;
}

/* Login Wrapper */
.login-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px 40px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 8s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(50px, 50px);
    }
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #052b61 0%, #0a1f3f 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #c6902f;
    box-shadow: 0 10px 30px rgba(5, 43, 97, 0.3);
    animation: floatAnimation 3s ease-in-out infinite;
}

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

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #052b61;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.greeting-text {
    font-size: 13px;
    color: #052b61;
    font-weight: 600;
    min-height: 20px;
}

/* Form Section */
.form-section {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label i {
    color: #c6902f;
    font-size: 14px;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-input:focus {
    outline: none;
    border-color: #052b61;
    background: white;
    box-shadow: 0 0 0 4px rgba(5, 43, 97, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #9ca3af;
}

.input-icon {
    position: absolute;
    right: 14px;
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.toggle-password {
    cursor: pointer;
    pointer-events: all;
    color: #6b7280;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: #052b61;
}

.form-input:focus ~ .input-icon {
    color: #c6902f;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #9ca3af;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #052b61;
}

.custom-checkbox label {
    cursor: pointer;
    color: #6b7280;
    font-weight: 500;
}

.forgot-link {
    color: #052b61;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c6902f;
    transition: width 0.3s ease;
}

.forgot-link:hover::after {
    width: 100%;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #052b61 0%, #c6902f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(5, 43, 97, 0.3);
}

.login-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(198, 144, 47, 0.4);
}

.login-button:active {
    transform: translateY(-1px);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    position: relative;
    z-index: 1;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.login-button:hover .button-icon {
    transform: translateX(5px);
}

.button-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.login-button:active .button-ripple {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
}

.footer-text {
    color: #6b7280;
    margin-bottom: 8px;
}

.help-link {
    color: #052b61;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-link:hover {
    color: #c6902f;
    text-decoration: underline;
}

.security-text {
    color: #9ca3af;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.security-text i {
    color: #c6902f;
}

/* Login Side Panel */
.login-side-panel {
    position: absolute;
    right: -350px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    color: white;
    text-align: center;
    animation: slideInFromRight 0.8s ease 0.5s forwards;
    opacity: 0;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(-50px);
    }
}

.panel-content h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.panel-content p {
    font-size: 13px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.feature-list {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
}

.feature-item i {
    font-size: 18px;
    color: #c6902f;
    min-width: 24px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.toast {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInToast 0.4s ease;
}

@keyframes slideInToast {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid #c6902f;
}

.toast.success i {
    color: #c6902f;
    font-size: 18px;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.error i {
    color: #ef4444;
    font-size: 18px;
}

.toast-message {
    font-size: 13px;
    color: #1f2937;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        padding: 35px 25px;
        max-width: 95%;
        margin: 0 20px;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .brand-name {
        font-size: 26px;
    }

    .login-button {
        padding: 14px;
        font-size: 13px;
    }

    .login-side-panel {
        display: none;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-input {
        padding: 12px 40px 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .login-header {
        margin-bottom: 25px;
    }

    .brand-name {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input {
        padding: 12px 40px 12px 12px;
        font-size: 13px;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
    }

    .forgot-link {
        order: -1;
    }

    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Loading State */
.login-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.login-button.loading .button-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Accessibility */
.form-input:focus-visible {
    outline: none;
}

.login-button:focus-visible {
    outline: 2px solid #052b61;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .login-background,
    .login-container {
        display: none;
    }
}

/* Animation Delays */
[data-aos] {
    opacity: 0;
}

[data-aos].aos-animate {
    opacity: 1;
}


.profile-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.profile-meta {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.stat-card-label {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

/* Personal Information Card */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.info-card-header i {
    color: #60a5fa;
    font-size: 18px;
}

.info-card-header h5 {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
}

.info-card-subtitle {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #60a5fa;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.info-item-label {
    margin: 0;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 600;
}

.info-item-value {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
}

/* Employee Card */
.employee-card {
    background: linear-gradient(135deg, #1a3a52 0%, #1e4d6b 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.employee-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.employee-card-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 22px;
}

.employee-card-title {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
}

.employee-card-subtitle {
    margin: 0;
    font-size: 11px;
    opacity: 0.9;
}

.employee-card-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.status-indicator {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
}

.employee-card-content {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
}

.employee-card-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
}

.employee-card-item:last-child {
    margin-bottom: 0;
}

.employee-card-item i {
    font-size: 12px;
}

/* Quick Actions Card */
.quick-actions-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quick-actions-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.quick-actions-header i {
    color: #60a5fa;
    font-size: 16px;
}

.quick-actions-header h6 {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
    font-size: 13px;
}

.quick-actions-subtitle {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 16px;
}

.action-button {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.action-button:last-child {
    margin-bottom: 0;
}

.action-button-primary {
    background: linear-gradient(135deg, #1a3a52 0%, #1e4d6b 100%);
    color: white;
}

.action-button-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

.action-button-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.action-button-success:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.action-button-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #fecaca;
}

.action-button-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Top Header Styling */
.top-header {
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-section {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb-item {
    color: #6b7280;
}

.breadcrumb-active {
    color: #1f2937;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-date {
    color: #6b7280;
    font-size: 13px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.user-info-small {
    font-size: 12px;
}

.user-name {
    margin: 0;
    color: #1f2937;
    font-weight: 600;
}

.user-role {
    margin: 0;
    color: #9ca3af;
    font-size: 11px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar-section {
        display: none;
    }

    .main-content {
        padding: 16px;
    }

    .profile-header {
        padding: 20px;
    }

    .profile-header h2 {
        font-size: 22px;
    }

    .profile-meta {
        gap: 12px;
    }

    .profile-meta-item {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 12px;
    }

    .header-right {
        width: 100%;
        justify-content: flex-end;
    }

    .stat-card-value {
        font-size: 24px;
    }

    .profile-header {
        padding: 16px;
    }

    .info-item {
        gap: 8px;
    }
}

/* Button Profile Badge */
.profile-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}

.profile-badge i {
    margin-right: 4px;
}

/* Utility Classes */
.flex-grow-1 {
    flex-grow: 1;
}

.gap-3 {
    gap: 12px;
}

.gap-6 {
    gap: 24px;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Animation Classes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: slideIn 0.3s ease-out;
}
