@import url("./navbar.css");
@import url("./light-mode.css");
@import url("./dark-mode.css");
@import url("./mobile-responsive.css");
@import url("./quote.css");

/* Environment indicator styles */
.environment-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
    color: #fff;
}

/* Build status badge styles */
.build-status-badge {
    max-height: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Environment indicator in navbar */
.environment-indicator {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1;
    margin-top: -2px;
}

/* Shortcuts section styling */
.shortcuts-section .fw-bold {
    color: #2c3e50;
    font-weight: 600;
}

.shortcuts-section .btn-outline-light {
    color: #2c3e50;
    border-color: #2c3e50;
    background-color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.shortcuts-section .btn-outline-light:hover {
    color: #ffffff;
    background-color: #2c3e50;
    border-color: #2c3e50;
}


#timesheet-body tr * {
    transition: background-color 0.3s ease;
}


.card {
    transition: all 2s ease;
    filter:blur(1);
}

.card:hover {
    filter:blur(10);
}

body,html {
    min-height: 100vh;
    background-repeat: no-repeat;
    position: relative;
    /* Prevent pinch zoom on mobile */
    touch-action: manipulation;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/static/img/ieg-logo.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% auto;
    opacity: 0.1;
    pointer-events: none;
}

.container-fluid {
    position: relative;
}


/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}


::-webkit-scrollbar-thumb {
    border-radius: 5px;
    /* Removed color styles */
}



.table {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.table td, .table th {
    padding: 0.5rem 0.75rem;
    /* Removed color styles */
}

.list-group-item {
    background-color: transparent;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    /* Removed color styles */
}

.card-header {
    font-size: 1rem;
    padding: 0.75rem 1rem;
}

.badge {
    font-size: 0.75rem;
}

.btn {
    font-size: 0.875rem;
}

.footer {
    font-size: 0.75rem;
    padding: 1rem 0;
    margin-top: 2rem;
    /* Removed color styles */
}

/* Loading Overlay Styles */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-overlay-inner {
  text-align: center;
}

/* Toastr Toast Fix: Always solid background, no image */
.toast, .toastr, .toast-success, .toast-error, .toast-info, .toast-warning {
  background: #fff !important;
  background-image: none !important;
  color: #222 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ts-field-error {
    border: 2px solid #dc3545 !important;
    background: #fff0f3 !important;
    transition: border-color 0.2s, background 0.2s;
}

.ts-field-error-msg {
    color: #dc3545;
    font-size: 0.8em;
    margin-top: 2px;
    margin-left: 2px;
    font-weight: 500;
}

.ts-field-info-msg {
    color: #888;
    font-size: 0.78em;
    margin-top: 2px;
    margin-left: 2px;
    font-weight: 400;
}

.date-inline-info {
    font-size: 1.15em;
    color: #888;
    margin-left: 1.5em;
    vertical-align: middle;
    font-weight: 400;
}

.editing-row {
    background-color: #ffeeba !important;
    border-left: 4px solid #ff9800 !important;
}
