/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #e0f2fe;
    color: #333;
}

div.input-group {
    max-width: 500px;
    padding: 10px;
}

.flex-container {
    display: flex;
    direction: row;
    align-items: center;
    padding: 0 1rem;
}

.controlBar {
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.title {
    width: 120px;
}

.title h5 a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.title h5 a:hover {
    color: #3498db;
}

.tableData {
    top: 110px;
    position: relative;
    padding-bottom: 40px;
}

/* Fancy Table Styles */
.custom-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.custom-table {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.custom-table thead th {
    background-color: #f1f5f9;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-table tbody td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
    font-size: 0.95rem;
}

.custom-table tbody tr {
    transition: background-color 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: #f8fafc !important;
}

.custom-table a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.custom-table a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Card View */
@media screen and (max-width: 768px) {
    .custom-table thead {
        display: none;
    }
    
    .custom-table tbody {
        display: block;
        padding: 10px;
        background: #f8f9fa;
    }
    
    .custom-table tbody tr {
        display: block;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        margin-bottom: 15px;
        padding: 15px;
        border: 1px solid #e2e8f0;
    }
    
    .custom-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        text-align: right;
        word-break: break-word;
        white-space: normal !important;
    }
    
    .custom-table tbody td:last-child {
        border-bottom: none;
    }
    
    .custom-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        font-size: 0.8rem;
        margin-right: 15px;
        text-align: left;
        flex-shrink: 0;
    }
    
    .custom-table-wrapper {
        box-shadow: none;
        background: transparent;
    }
}

/* Fancy Card Hover Styles */
.fancy-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border-radius: 12px;
    border: 1px solid #bae6fd !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05) !important;
}
.fancy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
    border-color: #38bdf8 !important;
}