/* Sets the background color for the entire page viewport */
body {
    background-color: #FFFDD0 !important;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.app-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 15px;
    background-color: transparent !important;
}

/* 2. Main Title Styling */
.app-main-title {
    color: #000000;
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 25px;
    letter-spacing: -0.025em;
}

/* 3. Personalized Card Container */
.custom-card {
    background-color: #ffffff !important;
    border: none !important; /* Removes harsh lines */
    border-radius: 12px !important; /* Soft, curved presentation */
    overflow: hidden; /* Ensures header corners honor the border-radius */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* Subtle interactive hover effect */
.custom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 4. Personalized Card Header Appearance */
.card-header-styled {
    background-color: #ffffff !important; /* Clean matching white header */
    border-bottom: 2px solid #f1f5f9 !important; /* Distinct subtle separator line */
    color: #1e293b !important; /* Slate title text */
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    padding: 16px 24px !important;
}

.card-body-styled {
    padding: 24px !important;
}

/* 5. Custom Form Labels and Search Bar adjustments */
.small-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b !important;
}

.custom-search-bar {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 16px !important;
    font-size: 0.95rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-search-bar:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

/* Fix Plotly Modebar Background and Icon Colors */
.js-plotly-plot .plotly .modebar {
    background-color: grey !important;
} 

.js-plotly-plot .plotly .modebar-btn path {
    fill: #ffffff !important; /* Forces icons to a readable white */
}

.js-plotly-plot .plotly .modebar-btn:hover path {
    fill: #000000 !important; /* Highlights the icon when the user hovers over it */
}

/* 6. Clean buttons overrides */
.action-btn {
    padding: 10px 32px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.download-btn {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
}