@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

html, body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #31333F;
    margin: 0;
    padding: 0;
    height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 150px rgba(160, 196, 255, 0.8);
    pointer-events: none;
    z-index: 9999;
}

/* Streamlit specific elements */
.st-sidebar {
    background-color: #f0f2f6;
    border-right: 1px solid #e6e6e6;
    padding: 2rem 1rem;
    height: 100vh;
    width: 250px;
    position: fixed;
    overflow-y: auto;
}

.st-main {
    margin-left: 250px;
    padding: 3rem 4rem;
    background-color: #ffffff;
    min-height: 100vh;
}

.st-header {
    font-weight: 700;
    font-size: 2.5rem;
    color: #31333F;
    margin-bottom: 2rem;
}

.st-metric-value {
    font-size: 3.5rem;
    font-weight: 400;
    color: #31333F;
    line-height: 1.2;
}

.st-metric-label {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.st-radio-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-radio-item {
    padding: 0.5rem 0;
    color: #31333F;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.st-radio-active {
    color: #ff4b4b !important;
    font-weight: 600;
}

.st-radio-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ccc;
    margin-right: 10px;
}

.st-radio-active .st-radio-dot {
    border-color: #ff4b4b;
    background-color: #ff4b4b;
    box-shadow: inset 0 0 0 2px #f0f2f6;
}

.st-btn {
    border: 1px solid #c8d4e3;
    background-color: #ffffff;
    color: #31333f;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
    cursor: pointer;
}

.st-btn:hover {
    border-color: #ff4b4b;
    color: #ff4b4b;
}

.rz-datatable {
    border: 1px solid #e6e6e6 !important;
    border-radius: 5px;
}
.rz-grid-table thead th {
    background-color: #f8f9fa !important;
    color: #64748b !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #e6e6e6 !important;
}

.st-card {
    background-color: #f8f9fa;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.st-alert-warning {
    background-color: #fff9e6;
    color: #8a6d3b;
    border: 1px solid #faebcc;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.st-alert-info {
    background-color: #e8f4fd;
    color: #0c5460;
    border: 1px solid #d1ecf1;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.st-alert-success {
    background-color: #e6f4ea;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.st-alert-error {
    background-color: #fdeaea;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}
