:root {
    --hayat-primary: #337367;
    --hayat-primary-hover: #295d53;
    --hayat-primary-light: rgba(51, 115, 103, 0.1);
    --hayat-bg: #F6FAFA;
    --hayat-info: #2196F3;
    --hayat-warning: #F2994A;
    --hayat-error: #F44336;
    --hayat-border: #EDEDED;
    --hayat-text: #2D3748;
    --hayat-text-muted: #718096;
}

body {
    background-color: var(--hayat-bg);
    color: var(--hayat-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

/* Hayat Buttons */
.btn-hayat {
    background-color: var(--hayat-primary);
    color: #ffffff;
    border: none;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}
.btn-hayat:hover, .btn-hayat:focus {
    background-color: var(--hayat-primary-hover);
    color: #ffffff;
}

.btn-outline-hayat {
    border: 1px solid var(--hayat-primary);
    color: var(--hayat-primary);
    background-color: transparent;
    font-weight: 500;
}
.btn-outline-hayat:hover {
    background-color: var(--hayat-primary);
    color: #ffffff;
}

/* Sidebar */
.hayat-sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid var(--hayat-border);
    min-height: 100vh;
}

.hayat-sidebar .nav-link {
    color: var(--hayat-text);
    font-weight: 500;
    padding: 0.65rem 1rem;
    border-radius: 6px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s ease-in-out;
}

.hayat-sidebar .nav-link:hover {
    background-color: var(--hayat-primary-light);
    color: var(--hayat-primary);
}

.hayat-sidebar .nav-link.active {
    background-color: var(--hayat-primary);
    color: #ffffff !important;
}

.hayat-sidebar .nav-link.active i {
    color: #ffffff !important;
}

/* Navbar */
.hayat-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--hayat-border);
    padding: 0.75rem 1.5rem;
}

/* Cards */
.card-hayat {
    background: #ffffff;
    border: 1px solid var(--hayat-border);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.card-hayat-header {
    background: #ffffff;
    border-bottom: 1px solid var(--hayat-border);
    padding: 1rem 1.25rem;
    font-weight: 600;
}

/* Badges */
.badge-active, .badge-completed, .badge-success {
    background-color: var(--hayat-primary) !important;
    color: #ffffff !important;
}

.badge-info, .badge-started, .badge-open {
    background-color: var(--hayat-info) !important;
    color: #ffffff !important;
}

.badge-warning, .badge-scheduled, .badge-pending {
    background-color: var(--hayat-warning) !important;
    color: #ffffff !important;
}

.badge-error, .badge-cancelled, .badge-danger, .badge-blocked, .badge-suspended {
    background-color: var(--hayat-error) !important;
    color: #ffffff !important;
}

/* Tables */
.table-hayat {
    margin-bottom: 0;
}

.table-hayat thead th {
    background-color: #FAFCFC;
    color: var(--hayat-text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--hayat-border);
    padding: 0.85rem 1rem;
}

.table-hayat tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--hayat-border);
    font-size: 0.9rem;
}

.table-hayat tbody tr:hover {
    background-color: #FAFCFC;
}

/* Stat Cards */
.stat-card {
    padding: 1.25rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--hayat-border);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.primary {
    background-color: var(--hayat-primary-light);
    color: var(--hayat-primary);
}

.stat-icon.info {
    background-color: rgba(33, 150, 243, 0.1);
    color: var(--hayat-info);
}

.stat-icon.warning {
    background-color: rgba(242, 153, 74, 0.1);
    color: var(--hayat-warning);
}

.stat-icon.danger {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--hayat-error);
}
