@import url('bootstrap-extended.css');
@import url('colors.css');
@import url('components.css');

/* Modern Card & Container Styles for All Pages */
.leave-select-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.breadcrumb {
    margin-bottom: 16px;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #5a67d8;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.alerts-container {
    margin-bottom: 30px;
}

.selection-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.selection-card {
    padding: 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-bottom: 1px solid #e1e5e9;
}

.header-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-description {
    font-size: 15px;
    color: #e0e6ed;
}

.btn-primary {
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #764ba2;
}

.btn-secondary {
    background: #e1e5e9;
    color: #333;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 10px;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.modern-input {
    padding: 0.75rem 1.25rem;
    border-radius: 0.7rem;
    border: 1px solid #e0e6ed;
    box-shadow: 0 1px 2px rgba(60, 72, 88, 0.04);
    font-size: 1.08rem;
    background: #f8fafc;
    transition: border-color 0.2s;
}

.modern-input:focus {
    border-color: #764ba2;
    background: #fff;
    box-shadow: 0 2px 8px rgba(118, 75, 162, 0.08);
}

.readonly-field {
    background: #f8fafc;
    border: 1px solid #e0e6ed;
    border-radius: 0.7rem;
    padding: 0.75rem 1.25rem;
    font-size: 1.08rem;
    color: #222;
    margin-bottom: 0;
    font-weight: 500;
}

.modern-table th,
.modern-table td {
    vertical-align: middle !important;
    font-size: 1.05rem;
    padding: 0.85rem 1.1rem;
}

.modern-table thead th {
    background: #f8fafc;
    color: #333;
    border-bottom: 2px solid #e1e5e9;
}

.modern-table tbody tr {
    transition: background 0.2s;
}

.modern-table tbody tr:hover {
    background: #f3f6fa;
}