
/* Dashboard Styles */
.dashboard-container {
    padding: 20px 0;
}

/* Section Styles */
.summary-section {
    margin-bottom: 30px;
    background: #f7ede2;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    border: 1px solid #e1e5eb;
}

.section-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeef2;
    display: flex;
    align-items: center;
}

.section-icon {
    margin-right: 10px;
    color: #3498db;
}

/* Grid Layout */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Card Styles */
.summary-card {
    background: #ddb89230;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e1e5eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-icon.blue {
    background-color: #e6f2ff;
    color: #3498db;
}

.card-icon.green {
    background-color: #e8f8f0;
    color: #2ecc71;
}

.card-icon.red {
    background-color: #fdecea;
    color: #e74c3c;
}

.card-title {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.card-value {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-section {
        padding: 15px;
    }
}

/* Custom Border Styling */
.card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px 12px 0 0 !important;
}

.card-footer {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px !important;
}

/* Table Border Styling */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    border-top: none;
}

.table th:first-child {
    border-radius: 8px 0 0 0;
}

.table th:last-child {
    border-radius: 0 8px 0 0;
}

.table tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.table tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

.table td, .table th {
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding: 12px 15px;
    vertical-align: middle;
}

/* Badge Border Radius */
.badge {
    border-radius: 6px;
    padding: 5px 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Avatar Border Styling */
.avatar-sm {
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 36px;
    height: 36px;
}

/* Custom Card Elements */
.summary-card {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.summary-card:hover {
    border-color: rgba(0, 0, 0, 0.1);
}

.card-icon {
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Section Border Styling */
.summary-section {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.section-title {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Warning Card Styling */
.table-warning {
    background-color: rgba(255, 193, 7, 0.05) !important;
}

.table-warning td {
    border-color: rgba(255, 193, 7, 0.2) !important;
}

/* Ongoing Leave Badge */
.badge.bg-warning {
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Container Styling */
.container {
    border-radius: 16px;
}

/* Responsive Border Adjustments */
@media (max-width: 768px) {
    .card {
        border-radius: 10px;
    }
    
    .table th:first-child,
    .table th:last-child,
    .table tr:last-child td:first-child,
    .table tr:last-child td:last-child {
        border-radius: 0;
    }
    
    .summary-section {
        border-radius: 10px;
    }
}

.relative{
    position: relative;
    width: 100%;
    height: 100%;
}

.redirect_icon{
    position:absolute;
    top: 8%;
    right: 3%;
    rotate: 330deg;
    font-size: 2rem;
}