/**
 * SurfaceOwl App CSS
 * Contains styles for protected/authenticated pages
 * Excludes landing page styles which are in landing.css
 */

/* ===================================
   SK Cube Grid Spinner
   Used for loading states in protected pages
   =================================== */

.sk-cube-grid {
    width: 40px;
    height: 40px;
    margin: 10px auto;
}

.sk-cube-grid .sk-cube {
    width: 33%;
    height: 33%;
    background-color: #4c7686;
    border: 1px solid white;
    float: left;
    -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

.sk-cube-grid .sk-cube1 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube2 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube3 {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.sk-cube-grid .sk-cube4 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube5 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.sk-cube-grid .sk-cube6 {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.sk-cube-grid .sk-cube7 {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.sk-cube-grid .sk-cube8 {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.sk-cube-grid .sk-cube9 {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

@-webkit-keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {
    0%, 70%, 100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }
    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

/* ===================================
   General CSS Spinner
   Alternative loading spinner for protected pages
   =================================== */

.css-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   Font Face Declarations
   Needed for both landing and app pages
   =================================== */

@font-face {
    font-family: Nexa;
    font-style: normal;
    font-weight: bold;
    src: url("../../assets-static/fonts/Nexa-Bold.woff2") format("woff2"),
    url("../../assets-static/fonts/Nexa-Bold.woff") format("woff"),
    url("../../assets-static/fonts/Nexa-Bold.ttf") format("truetype");
}

@font-face {
    font-family: Nexa;
    font-style: normal;
    font-weight: 300;
    src: url("../../assets-static/fonts/Nexa-Light.woff2") format("woff2"),
    url("../../assets-static/fonts/Nexa-Light.woff") format("woff"),
    url("../../assets-static/fonts/Nexa-Light.ttf") format("truetype");
}

@font-face {
    font-family: NexaRegular;
    font-style: normal;
    font-weight: normal;
    src: url("../../assets-static/fonts/NexaRegular.woff2") format("woff2"),
    url("../../assets-static/fonts/NexaRegular.woff") format("woff"),
    url("../../assets-static/fonts/NexaRegular.ttf") format("truetype");
}

@font-face {
    font-family: "Nexa Book";
    font-style: normal;
    font-weight: normal;
    src: url("../../assets-static/fonts/Nexa-Book.woff2") format("woff2"),
    url("../../assets-static/fonts/Nexa-Book.woff") format("woff"),
    url("../../assets-static/fonts/Nexa-Book.ttf") format("truetype");
}

/* ===================================
   Body Hidden Utility
   Used for preventing FOUC
   =================================== */

body.hidden {
    visibility: hidden;
}

/* ===================================
   Additional App-Specific Styles
   Add any other styles needed for protected pages here
   =================================== */

/* Footer color fix - match left sidebar */
.page-footer {
    background: #3a3633 !important; /* Match left sidebar color */
}

/* Fix header button alignment */
#header .btn-header {
    margin-top: 0;
    vertical-align: middle;
    display: inline-block;
}

/* Specific fix for toggle menu button */
#btn-top-collapse-menu {
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    background: transparent !important;
    border: none !important;
}

/* Ensure consistent height for all header buttons */
#header .btn-header,
#btn-top-collapse-menu {
    height: 49px;
    line-height: 49px;
    padding: 0 10px;
}

/* ===================================
   Protected Page Styling Fixes from f9b11149
   Dark header design and UI improvements
   =================================== */

/* Dark header design to match sidebar and footer */
#header {
    background: #3a3633 !important;
    border-bottom: 1px solid #282827 !important;
}

/* Fix ribbon/breadcrumb area to match sidebar color */
#ribbon {
    background: #3a3633 !important;
    border-bottom: none !important;
}

/* Fix breadcrumb text color for dark background */
#ribbon .breadcrumb {
    background: transparent !important;
    color: #fff !important;
}

#ribbon .breadcrumb li {
    color: #fff !important;
}

/* Update header button colors - remove background that's hiding icons */
#header .btn-header {
    color: #c6c6c6 !important;
    background: transparent !important;
    border: none !important;
}

#header .btn-header:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Fix icon visibility in header buttons */
#header .btn-header i,
#header a i {
    color: #c6c6c6 !important;
    font-size: 16px !important;
}

#header .btn-header:hover i,
#header a:hover i {
    color: #fff !important;
}

/* Remove any box styling that might be hiding icons */
#header .btn-header span {
    background: transparent !important;
    border: none !important;
}

/* Specific button fixes */
#button-logout a,
#button-help a,
#btn-top-collapse-menu a {
    color: #c6c6c6 !important;
    background: transparent !important;
}

#fullscreen.btn-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#fullscreen span,
#fullscreen a {
    background: transparent !important;
    border: none !important;
    display: inline-block !important;
}

#header .btn-header,
div#button-help,
div#button-logout {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

#button-help span,
#button-logout span,
#header .btn-header span {
    background: transparent !important;
    border: none !important;
}

/* More aggressive targeting for help and logout buttons */
#button-help a,
#button-logout a,
#button-help i,
#button-logout i {
    background: transparent !important;
    border: none !important;
    color: #c6c6c6 !important;
}

/* Fix responsive design - ensure minimum width but NO scroll on header */
#header {
    min-width: 320px;
    overflow: hidden !important;
}

/* Ensure menu toggle button is always visible even at high zoom */
#btn-top-collapse-menu {
    position: relative !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
}

/* Fix the menu toggle button border issue */
#btn-top-collapse-menu,
#btn-top-collapse-menu a,
#btn-top-collapse-menu span,
a#btn-top-collapse-menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ===================================
   Baseline Wizard Styling
   Ensure proper form and wizard step display
   =================================== */

/* Smart form styling enhancements */
.smart-form .row {
    margin-bottom: 15px;
}

.smart-form section {
    position: relative;
}

.smart-form .label {
    display: block;
    margin-bottom: 6px;
    line-height: 19px;
    font-weight: 400;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.smart-form .select i {
    background: #ffffff;
    box-shadow: 0 0 0 9px #ffffff;
    height: 11px;
    position: absolute;
    right: 11px;
    top: 10px;
    width: 5px;
}

.smart-form .select i:after,
.smart-form .select i:before {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    content: '';
    position: absolute;
    right: 0;
}

.smart-form .select i:after {
    border-top: 4px solid #404040;
    bottom: 0;
}

.smart-form .select i:before {
    border-bottom: 4px solid #404040;
    top: 0;
}

/* Wizard tab pane visibility */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Level heading styling */
.tab-pane h3 {
    margin: 0 0 20px;
    padding: 0;
    font-size: 19px;
    font-weight: 300;
    color: #333;
}

/* Wizard navigation buttons */
.form-actions {
    padding: 15px 20px;
    margin-top: 20px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
}

/* Baseline specific button styling */
#btn-update-baseline,
#btn-create-new-baseline {
    margin-right: 10px;
}

/* File upload section styling */
.fileInfo {
    padding: 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.fileInfo p {
    margin-bottom: 10px;
}

/* Progress bar container */
.progress {
    margin-bottom: 20px;
}

/* Dropzone styling */
.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: white;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.dropzone.active {
    border-color: #2ecc71;
    background: #f0f9ff;
}

/* Alert styling within forms */
.smart-form .alert {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Loading spinner styling */
.sk-cube-grid {
    width: 60px;
    height: 60px;
    margin: 40px auto;
}

.sk-cube-grid .sk-cube {
    width: 33.33%;
    height: 33.33%;
    background-color: #428BCA;
    float: left;
    animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}

/* Baseline completion page styling */
.tab-pane h2.text-center {
    color: #333;
    font-weight: 300;
    line-height: 1.4;
    margin: 30px 0;
}

/* Success button styling for completion pages */
.btn-success.btn-lg,
.btn-info.btn-lg {
    padding: 12px 24px;
    font-size: 18px;
}

/* Info button color scheme */
.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
    color: #fff;
}

/* Checkbox styling */
.checkbox {
    position: relative;
    padding-left: 25px;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox i {
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    width: 17px;
    height: 17px;
    border: 1px solid #ccc;
    background: #fff;
}

.checkbox input[type="checkbox"]:checked + i::after {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    top: -1px;
    left: 1px;
    font-size: 12px;
    color: #333;
}

/* Wizard navigation styling */
.pagination.wizard {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination.wizard .page-item {
    display: inline-block;
}

.pagination.wizard .flex-last {
    float: right;
}

/* Next button styling */
.btn-next {
    background-color: #3276B1;
    color: white;
    border: 1px solid #285E8E;
    padding: 10px 16px;
    font-size: 17px;
    line-height: 1.33;
    border-radius: 6px;
}

.btn-next:hover {
    background-color: #285E8E;
    color: white;
}

.btn-next:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ===================================
   IT Level 1 Completion Page Styling
   Enhanced visual design for completion/success pages
   =================================== */

/* IT Completion page container - minimal styling for clean integration */
[data-testid="it-baseline-completion-page"] {
    padding: 40px 30px;
    text-align: center;
}

/* Completion message header styling */
[data-testid="it-completion-message"] {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Success icon before the message */
[data-testid="it-completion-message"]::before {
    content: '✓';
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    color: white;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    margin-right: 20px;
    vertical-align: middle;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

/* Success pulse animation */
@keyframes successPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }
}

/* ===================================
   SURFACEOWL MODERN BUTTON DESIGN SYSTEM
   Standardized button styles for consistent UI across all routes
   
   Usage Classes:
   - .btn-so-primary: Main action buttons (green)
   - .btn-so-secondary: Secondary action buttons (blue)
   - .btn-so-danger: Delete/Cancel buttons (red)
   - .btn-so-large: Large prominent buttons
   - .btn-so-small: Compact buttons
   
   Apply these classes to replace existing btn-success, btn-primary, etc.
   =================================== */

/* Base modern button styling */
.btn-so-primary,
.btn-so-secondary,
.btn-so-danger,
[data-testid="baseline-complete-it-develop"] {
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

/* Primary buttons (Green - Success actions) */
.btn-so-primary,
[data-testid="baseline-complete-it-develop"] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-so-primary:hover,
[data-testid="baseline-complete-it-develop"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1e7e64 100%);
    color: white;
}

/* Secondary buttons (Blue - Navigation/Info actions) */
.btn-so-secondary {
    background: linear-gradient(135deg, #4c7686 0%, #6f9fb8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 118, 134, 0.3);
}

.btn-so-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 118, 134, 0.4);
    background: linear-gradient(135deg, #3a5a68 0%, #5a8ca8 100%);
    color: white;
}

/* Danger buttons (Red - Delete/Cancel actions) */
.btn-so-danger {
    background: linear-gradient(135deg, #dc3545 0%, #e85d75 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-so-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    background: linear-gradient(135deg, #c82333 0%, #d63c5e 100%);
    color: white;
}

/* Size variants */
.btn-so-large,
[data-testid="baseline-complete-it-develop"] {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-so-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* Active state for all modern buttons */
.btn-so-primary:active,
.btn-so-secondary:active,
.btn-so-danger:active,
[data-testid="baseline-complete-it-develop"]:active {
    transform: translateY(0);
}

/* Focus states for accessibility */
.btn-so-primary:focus,
.btn-so-secondary:focus,
.btn-so-danger:focus {
    outline: 2px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}

/* Legacy button compatibility - TODO: Remove these when migration complete */
/* Enhanced button styling for completion page (LEGACY - keeping for IT Level 1) */

/* Progress indicator styling for wizard */
.pagination.wizard .page-item.active .page-link {
    background: linear-gradient(135deg, #4c7686 0%, #28a745 100%);
    border-color: #4c7686;
    color: white;
    font-weight: 600;
}

/* Form input styling for baseline forms */
.smart-form input[type="text"],
.smart-form input[type="number"],
.smart-form input[type="email"],
.smart-form select {
    width: 100%;
    padding: 8px 12px; /* Updated padding */
    font-size: 14px; /* Increased from 13px for better readability */
    line-height: 1.428571429;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

/* Ensure all smart-form inputs within .input class have proper padding */
.smart-form .input input[type="text"],
.smart-form .input input[type="number"],
.smart-form .input input[type="email"] {
    padding: 10px 12px; /* Match the main input styling */
    font-size: 14px; /* Consistent font size */
}

.smart-form input:focus,
.smart-form select:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* Table styling for procurement levels */
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    background-color: transparent;
    border-collapse: collapse;
}

.table > thead > tr > th,
.table > tbody > tr > td {
    padding: 8px;
    line-height: 1.428571429;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
    font-weight: bold;
}

.table-bordered {
    border: 1px solid #ddd;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border: 1px solid #ddd;
}

/* Previous button styling */
.btn-prev {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 16px;
    font-size: 17px;
    line-height: 1.33;
    border-radius: 6px;
}

.btn-prev:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* Develop & Explore specific styling */
.button-header {
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
}

/* CSS spinner for loading states */
.spinner {
    text-align: center;
    padding: 40px 0;
}

.css-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Try again button container */
.try-again {
    margin-top: 20px;
}

/* Visualization container styling */
.plotly-chart,
.visualization-container {
    width: 100%;
    min-height: 500px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

/* Export component styling */
.export-panel {
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

/* ===================================
   IT Level 0 and Form Improvements
   =================================== */

/* Tooltip styling improvements */
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    opacity: 0;
    filter: alpha(opacity=0);
}

.tooltip.in {
    opacity: 0.95;
    filter: alpha(opacity=95);
}

.tooltip-inner {
    max-width: 350px;
    padding: 8px 12px;
    color: #fff;
    text-align: left;
    background-color: #2C3E50;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: 600; /* Make text semi-bold for better readability */
}

/* Right placement styling adjustments */
.tooltip.right {
    margin-left: 5px;
}

.tooltip.right .tooltip-inner {
    max-width: 400px; /* Slightly wider for right placement */
}

.tooltip.top .tooltip-arrow {
    border-top-color: #2C3E50;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #2C3E50;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #2C3E50;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #2C3E50;
}

/* Input field padding improvements - consolidated above */

/* Larger, more readable form labels */
.smart-form .label {
    font-size: 14px; /* Increased from 13px */
    font-weight: 600; /* Make bolder for better visibility */
    color: #2C3E50; /* Darker color for better readability */
    margin-bottom: 8px; /* Slightly more spacing */
    display: block;
}

/* Specific improvements for Level 0 form labels */
#level-0-form .label {
    font-size: 15px; /* Even larger for Level 0 form */
    font-weight: 700; /* Bold for better readability */
    color: #222; /* Darker color */
}

/* Fix input text size consistency across all forms */
.smart-form input[type="text"],
.smart-form input[type="number"],
.smart-form input[type="email"] {
    font-size: 14px !important; /* Ensure consistent size */
    padding: 10px 12px; /* Slightly more padding for better appearance */
}

/* Money input specific styling - match other inputs */
.smart-form .money-input,
.smart-form input[data-format="currency"],
.smart-form .form-control {
    font-size: 14px !important; /* Match other inputs */
    padding: 10px 12px !important; /* Better padding */
}

/* Fix text indentation for ALL input types */
.smart-form input[type="text"],
.smart-form input[type="number"],
.smart-form input[type="email"],
.smart-form .form-control,
.smart-form .input input {
    padding-left: 12px !important; /* Ensure proper left padding for text indentation */
}

/* Specific fix for renderField inputs that don't get proper styling */
.smart-form .input input[type="text"]:not(.form-control) {
    padding: 10px 12px !important;
    font-size: 14px !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    background-color: #fff;
}

/* CRITICAL: Force proper indentation for Baseline Nickname specifically */
#level-0-form #input-nickname,
#level-0-form section[data-testid="nickname-section"] input,
.smart-form section[data-testid="nickname-section"] input[type="text"] {
    padding-left: 12px !important;
    text-indent: 0 !important;
    padding: 10px 12px !important;
}

/* Ensure all inputs in level-0-form have proper indentation */
#level-0-form input[type="text"],
#level-0-form input[type="number"],
#level-0-form input[type="email"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
    text-indent: 0 !important;
}

/* Question mark tooltip trigger styling */
.smart-form .tooltip-trigger,
.smart-form [data-toggle="tooltip"],
.smart-form .help-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background: #5D6D7E;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    cursor: help;
    margin-left: 6px;
    vertical-align: middle;
}

.smart-form [data-toggle="tooltip"]:hover,
.smart-form .help-icon:hover {
    background: #34495E;
}

/* Style the FontAwesome question mark icon specifically */
.smart-form .fa-question-circle.help-icon {
    background: none;
    color: #5D6D7E;
    font-size: 14px;
}

.smart-form .fa-question-circle.help-icon:hover {
    color: #34495E;
}

/* Money input formatting */
.smart-form input.money-input,
.smart-form input[data-format="currency"] {
    text-align: right;
    padding-right: 15px;
}

/* Validation error styling */
.smart-form .has-error input,
.smart-form .has-error select {
    border-color: #a94442;
}

.smart-form .has-error .help-block {
    color: #a94442;
    font-size: 12px;
    margin-top: 5px;
}

/* ===================================
   Home Page Improvements
   Enhanced text prominence and section styling
   =================================== */

/* Home page welcome content */
.welcome-content {
    padding: 20px;
}

/* Make section headers larger and darker blue */
.welcome-content h3.text-primary {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #1a4d6d !important; /* Darker blue with good contrast */
}

.navigation-guide h4 {
    font-size: 1.4rem !important;
    color: #1a4d6d !important; /* Match the h3 color */
    font-weight: 600 !important;
}

.navigation-guide h5 {
    color: #1a4d6d !important; /* Match section header color */
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.navigation-guide h5 i {
    margin-right: 0.5rem;
    color: #1a4d6d !important; /* Updated to match new darker blue */
}

/* Fix "Welcome to SurfaceOwl!" header to match section headers - ONLY on home page */
#content .jarviswidget > header h2 {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #1a4d6d !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure the widget header aligns with content - ONLY on home page */
#content .jarviswidget > header {
    background: transparent !important;
    border: none !important;
    padding: 0 0 1rem 0 !important;
}

/* Remove any default widget styling that causes indentation - ONLY on home page */
#content .jarviswidget {
    margin: 0 !important;
}

/* Update the primary color class to use darker blue */
.text-primary {
    color: #1a4d6d !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}