/* Career Guidance Theme - Unified Warm Green */
/* Growth, Progress, Natural and Eco-friendly for Login and App */
/* Color Palette: Green, Mint with warm accents */

:root {
    /* Primary Colors - Updated to match Login.cshtml green theme */
    --color-primary-green: #4caf50;
    --color-dark-green: #388e3c;
    --color-light-green: #c8e6c9;
    --color-very-light-green: #a5d6a7;
    --color-accent-orange: #f97316;
    --color-success-green: #4caf50;
    --color-success-dark: #388e3c;
    --color-error-red: #ef4444;
    --color-error-light: #fef2f2;
    
    /* Text & Background */
    --color-text-dark: #1f2937;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-bg-light: #fafafa;
    --color-input-bg: #ffffff;
    --color-white: #ffffff;
    
    /* Gradients - Updated to match Login.cshtml */
    --gradient-primary: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    --gradient-login-bg: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    --gradient-panel: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-large-title: 28px;
    --font-size-title: 24px;
    --font-size-heading: 18px;
    --font-size-subheading: 14px;
    --font-size-body: 13px;
    --font-size-label: 12px;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 15px;
    --spacing-xl: 20px;
    --spacing-xxl: 30px;

    /* Dimensions */
    --sidebar-width: 240px;
    --sidebar-width-mobile: 200px;
    --navbar-height: 48px;
    --grid-row-height: 50px;
    --button-height: 36px;

    /* Transitions */
    --transition-quick: 100ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-family);
    color: var(--color-text-dark);
}

/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

body.login-page {
    background: var(--gradient-login-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: flex;
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    margin: 20px;
}

.login-illustration {
    flex: 1;
    background: var(--gradient-panel);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-illustration img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.login-form-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg-light);
}

.logo {
    color: var(--color-primary-green);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 28px;
}

.login-logo {
    height: 35px;
    width: auto;
    max-width: 45px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-title {
    font-size: 42px;
    font-weight: 300;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    color: var(--color-text-light);
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.form-group-custom {
    margin-bottom: 25px;
    position: relative;
}

.form-group-custom label {
    display: block;
    color: var(--color-text-light);
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-custom input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: var(--color-input-bg);
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

.form-group-custom input::placeholder {
    color: #bbb;
}

.form-group-custom input:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group-custom .input-icon {
    position: absolute;
    right: 12px;
    top: 36px;
    color: var(--color-primary-green);
    font-size: 16px;
}

.form-group-custom .input-icon.password {
    top: 34px;
}

.form-check-custom {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 8px;
}

.form-check-custom input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary-green);
}

.form-check-custom label {
    margin: 0;
    color: var(--color-text-light);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-custom .lock-icon {
    color: var(--color-accent-orange);
    font-size: 14px;
}

.forgot-password {
    color: var(--color-primary-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 24px;
}

.forgot-password:hover {
    color: var(--color-dark-green);
    text-decoration: underline;
}

.login-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: 100%;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
    color: white;
}

.create-account-btn {
    background: var(--color-white);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    padding: 12px 50px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 180px;
    text-align: center;
}

.create-account-btn:hover {
    border-color: var(--color-primary-green);
    color: var(--color-primary-green);
}

.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-direction: column;
}

.social-login {
    margin-top: 30px;
}

.social-text {
    color: var(--color-text-muted);
    font-size: 12px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.social-icon.google {
    background: #f5f5f5;
    color: #333;
}

.social-icon.google:hover {
    background: #e8e8e8;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.facebook:hover {
    background: #165ec9;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.twitter:hover {
    background: #1a8cd8;
}

.alert-error {
    background-color: var(--color-error-light);
    border: none;
    border-left: 4px solid var(--color-error-red);
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    display: none;
    font-size: 13px;
}

/* ============================================
   APP PAGE STYLES
   ============================================ */

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--color-bg-light);
    font-family: var(--font-family);
    color: var(--color-text-dark);
}

.app-body {
    display: flex;
    flex: 1;
}

.app-sidebar {
    width: var(--sidebar-width);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl) 0;
    box-shadow: 2px 0 8px rgba(5, 150, 105, 0.15);
    overflow-y: auto;
    flex-shrink: 0;
}

.app-content {
    flex: 1;
    padding: var(--spacing-xxl);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ============================================
   NAVBAR CLASSES
   ============================================ */

.navbar-primary {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--navbar-height);
}

.navbar-brand {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.navbar-brand i {
    font-size: 28px;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: white;
}

.logout-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: var(--font-size-label);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* ============================================
   USER PROFILE DROPDOWN CLASSES
   ============================================ */

.user-profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.user-profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 15px;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.user-profile-btn.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 300px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    transform: translateY(-10px);
}

.user-profile-wrapper.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info-section {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.user-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    font-weight: bold;
    overflow: hidden;
}

.user-profile-pic.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.user-email {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
    word-break: break-all;
}

.user-profile-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.user-profile-links a {
    font-size: 12px;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-profile-links a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.dropdown-menu-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
}

.dropdown-menu-item:hover {
    background: #f9fafb;
    color: #1f2937;
}

.dropdown-menu-item i {
    font-size: 16px;
    width: 20px;
    color: #6b7280;
}

.dropdown-menu-item:hover i {
    color: #0066cc;
}

.dropdown-menu-item.logout {
    color: #ef4444;
    border-top: 1px solid #f0f0f0;
}

.dropdown-menu-item.logout i {
    color: #ef4444;
}

.dropdown-menu-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-menu-item.logout:hover i {
    color: #dc2626;
}

/* ============================================
   SIDEBAR MENU CLASSES
   ============================================ */

.sidebar-section-title {
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-xl);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    font-size: var(--font-size-body);
}

.sidebar-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--color-accent-orange);
}

.sidebar-menu-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: var(--color-accent-orange);
    color: white;
    font-weight: var(--font-weight-bold);
}

.sidebar-menu-icon {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* ============================================
   PAGE HEADER CLASSES
   ============================================ */

.page-header {
    margin-bottom: var(--spacing-xxl);
}

.page-title {
    font-size: var(--font-size-large-title);
    font-weight: var(--font-weight-light);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.page-subtitle {
    color: var(--color-text-light);
    font-size: var(--font-size-body);
}

/* ============================================
   TOOLBAR CLASSES
   ============================================ */

.toolbar {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.toolbar-item {
    flex: 0 0 auto;
}

.toolbar-item.expand {
    flex: 1;
    min-width: 250px;
}

/* ============================================
   SEARCH BOX CLASSES
   ============================================ */

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-md) calc(var(--spacing-xl) * 2.5);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: var(--font-size-body);
    transition: all var(--transition-normal);
    background-color: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.search-input-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    pointer-events: none;
}

/* ============================================
   BUTTON CLASSES
   ============================================ */

.btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: var(--font-size-body);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    font-family: var(--font-family);
    background: white;
    color: var(--color-text-dark);
}

.btn:hover {
    border-color: var(--color-primary-green);
    color: var(--color-primary-green);
}

.btn-primary {
    background: var(--color-primary-green);
    color: white;
    border-color: var(--color-primary-green);
}

.btn-primary:hover {
    background: var(--color-dark-green);
    border-color: var(--color-dark-green);
    color: white;
}

.btn-danger {
    color: var(--color-error-red);
}

.btn-danger:hover {
    border-color: var(--color-error-red);
    color: var(--color-error-red);
    background: var(--color-error-light);
}

.btn-icon {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-icon.view {
    color: #059669;
}

.btn-icon.view:hover {
    background: #d1fae5;
    color: #047857;
}

.btn-icon.edit {
    color: var(--color-primary-green);
}

.btn-icon.edit:hover {
    background: var(--color-light-green);
    color: var(--color-dark-green);
}

.btn-icon.delete {
    color: var(--color-error-red);
}

.btn-icon.delete:hover {
    background: var(--color-error-light);
    color: #be123c;
}

/* ============================================
   DATA GRID / TABLE CLASSES
   ============================================ */

.data-grid-container {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
}

.data-table thead {
    background: #e0f2f1;
    border-bottom: 1px solid #b2dfdb;
}

.data-table thead th {
    color: #00695c;
    border-right: 1px solid #b2dfdb;
}

.grid-header {
    background: var(--color-light-green);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-body);
    color: var(--color-primary-green);
    min-height: var(--grid-row-height);
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

.grid-header > div {
    padding: var(--spacing-lg) var(--spacing-lg);
    border-right: 1px solid var(--color-border);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 0;
    flex-grow: 1;
    min-width: fit-content;
}

.grid-header > div:nth-child(1) {
    flex: 0 1 auto;
    min-width: 80px;
}

.grid-header > div:nth-child(2) {
    flex: 0 1 auto;
    min-width: 150px;
}

.grid-header > div:nth-child(3) {
    flex: 0 1 auto;
    min-width: 100px;
}

.grid-header > div:nth-child(4) {
    flex: 0 1 auto;
    min-width: 150px;
}

.grid-header > div:nth-child(5) {
    flex: 0 1 auto;
    min-width: 150px;
}

.grid-header > div:nth-child(6) {
    flex: 0 1 auto;
    min-width: 120px;
}

.grid-header > div:nth-child(7) {
    flex: 0 1 auto;
    min-width: 80px;
}

.grid-header > div:nth-child(8) {
    flex: 0 1 auto;
    min-width: 120px;
    border-right: none;
    text-align: right;
    padding-right: var(--spacing-xl);
}

.grid-body {
    max-height: 600px;
    overflow-y: auto;
}

.grid-row {
    display: flex;
    padding: 0;
    border-bottom: 1px solid #c5e0d5;
    align-items: center;
    min-height: var(--grid-row-height);
}

.grid-row:hover {
    background: #f0fdf4;
}

.grid-cell {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-body);
    color: var(--color-text-dark);
    border-right: 1px solid #d0e8dc;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 0;
    flex-grow: 1;
    min-width: fit-content;
}

.grid-cell:nth-child(1) {
    flex: 0 1 auto;
    min-width: 80px;
}

.grid-cell:nth-child(2) {
    flex: 0 1 auto;
    min-width: 150px;
}

.grid-cell:nth-child(3) {
    flex: 0 1 auto;
    min-width: 100px;
}

.grid-cell:nth-child(4) {
    flex: 0 1 auto;
    min-width: 150px;
}

.grid-cell:nth-child(5) {
    flex: 0 1 auto;
    min-width: 150px;
}

.grid-cell:nth-child(6) {
    flex: 0 1 auto;
    min-width: 120px;
}

.grid-cell:nth-child(7) {
    flex: 0 1 auto;
    min-width: 80px;
}

.grid-cell:nth-child(8) {
    flex: 1;
    min-width: 150px;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-md);
    flex-wrap: nowrap;
    padding: var(--spacing-md) var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

/* ============================================
   SIDEBAR COLLAPSE / EXPAND (HOVER)
   ============================================ */

/* Collapse sidebar by default */
.app-sidebar {
    width: 70px;
    transition: width 0.3s ease;
    overflow: hidden;
}

/* Expand on hover */
.app-sidebar:hover {
    width: var(--sidebar-width);
    z-index: 999;
}

/* Hide section title by default */
.sidebar-section-title {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    visibility: hidden;
}

/* Show section title on sidebar hover */
.app-sidebar:hover .sidebar-section-title {
    opacity: 1;
    visibility: visible;
}

/* Hide menu text by default */
.sidebar-menu-item span:not(.sidebar-menu-icon) {
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Show menu text on sidebar hover */
.app-sidebar:hover .sidebar-menu-item span:not(.sidebar-menu-icon) {
    opacity: 1;
    visibility: visible;
}

/* Tooltip for collapsed sidebar icons */
.sidebar-menu-item::before {
    content: attr(data-label);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1001;
    margin-left: 10px;
    font-weight: 500;
}

/* Show tooltip when sidebar not hovered and icon is hovered */
.app-sidebar:not(:hover) .sidebar-menu-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   PAGINATION CLASSES
   ============================================ */

.pagination-container {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f0fdf4;
    font-size: var(--font-size-label);
    color: var(--color-text-light);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.pagination-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.pagination-page-size {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pagination-page-size label {
    font-size: var(--font-size-label);
    color: var(--color-text-light);
    white-space: nowrap;
}

.pagination-page-size select {
    padding: 6px 24px 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: white;
    color: var(--color-text-dark);
    font-size: var(--font-size-label);
    cursor: pointer;
    transition: all var(--transition-normal);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.pagination-page-size select:hover {
    border-color: var(--color-primary-green);
}

.pagination-page-size select:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.1);
}

.pagination-controls {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-label);
    transition: all var(--transition-normal);
    font-weight: var(--font-weight-medium);
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--color-primary-green);
    color: var(--color-primary-green);
    background: var(--color-light-green);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
}

.pagination-btn.active {
    background: var(--color-primary-green);
    color: white;
    border-color: transparent;
    font-weight: var(--font-weight-bold);
}

.pagination-btn.active:hover {
    background: var(--color-dark-green);
    color: white;
}

#pageNumbers {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ============================================
   BADGE CLASSES
   ============================================ */

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-medium);
}

.badge-success {
    background: #d1fae5;
    color: #047857;
}

.badge-danger {
    background: var(--color-error-light);
    color: var(--color-error-red);
}

.badge-info {
    background: var(--color-light-teal);
    color: var(--color-primary-teal);
}


/* ============================================
   PHASE 1 ENHANCEMENTS - MODERN UI PATTERNS
   ============================================ */

/* Enhanced Shadows - Material Design 3.0 */
.shadow-sm {
    box-shadow: 
        0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 
        0 2.8px 2.2px rgba(0, 0, 0, 0.02),
        0 6.7px 5.3px rgba(0, 0, 0, 0.028),
        0 12.5px 10px rgba(0, 0, 0, 0.035),
        0 22.3px 17.9px rgba(0, 0, 0, 0.042),
        0 41.8px 33.4px rgba(0, 0, 0, 0.05),
        0 100px 80px rgba(0, 0, 0, 0.07);
}

.shadow-lg {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Apply enhanced shadows to components */
.data-grid-container {
    box-shadow: 
        0 2.8px 2.2px rgba(0, 0, 0, 0.02),
        0 6.7px 5.3px rgba(0, 0, 0, 0.028),
        0 12.5px 10px rgba(0, 0, 0, 0.035);
}

.login-container {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(5, 150, 105, 0.08);
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(5, 150, 105, 0.15);
}

.glass-card-dark {
    background: rgba(5, 150, 105, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* Apply glass effect to user dropdown */
.user-dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Button Ripple Effect - Micro-interaction */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Apply ripple to buttons */
.login-button,
.btn-primary,
.btn {
    position: relative;
    overflow: hidden;
}

.login-button::after,
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.login-button:active::after,
.btn-primary:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Button Hover Effects */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.btn-icon:hover {
    transform: scale(1.15);
}

/* Focus Indicators - Accessibility */
*:focus {
    outline: 2px solid var(--color-primary-green);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--color-primary-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

/* Enhanced focus for inputs */
.search-input:focus,
.form-group-custom input:focus,
.pagination-page-size select:focus {
    outline: 2px solid var(--color-primary-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

/* Button focus states */
.btn:focus-visible,
.btn-primary:focus-visible,
.login-button:focus-visible {
    outline: 2px solid var(--color-primary-green);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

/* Floating Action Button (FAB) */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    border: none;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
}

.fab:active {
    transform: scale(0.95);
}

/* FAB ripple effect */
.fab::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.fab:active::after {
    width: 100px;
    height: 100px;
}

/* Enhanced Card Hover Effects */
.data-grid-container {
    transition: all 0.3s ease;
}

.data-grid-container:hover {
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 12px 32px rgba(5, 150, 105, 0.1);
}

/* Grid Row Animations */
.grid-row {
    transition: all 0.2s ease;
}

.grid-row:hover {
    background: linear-gradient(90deg, #f0fdf4 0%, #ffffff 100%);
    transform: translateX(4px);
}

/* Icon Animations */
.btn-icon i,
.sidebar-menu-icon i,
.dropdown-menu-item i {
    transition: all 0.3s ease;
}

.btn-icon:hover i {
    transform: scale(1.2);
}

.sidebar-menu-item:hover .sidebar-menu-icon i {
    transform: translateX(4px);
}

.dropdown-menu-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Transitions for Theme Elements */
.navbar-primary,
.app-sidebar,
.user-dropdown-menu,
.data-grid-container {
    transition: all 0.3s ease;
}

/* Micro-interaction: Checkbox Animation */
input[type="checkbox"] {
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    animation: checkBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes checkBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Badge Animations */
.badge {
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Search Input Animation */
.search-input {
    transition: all 0.3s ease;
}

.search-input:focus {
    transform: translateY(-2px);
}

/* Page Title Animation */
.page-title {
    animation: fadeInDown 0.5s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toolbar Animation */
.toolbar {
    animation: fadeIn 0.5s ease 0.2s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Grid Container Animation */
.data-grid-container {
    animation: fadeInUp 0.5s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pagination Animation */
.pagination-container {
    animation: fadeIn 0.5s ease 0.4s both;
}

/* Mobile Responsive FAB */
@media (max-width: 768px) {
    .fab {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Reduced Motion Support - Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark Mode Preparation */
@media (prefers-color-scheme: dark) {
    /* Variables can be overridden here for automatic dark mode */
}
