:root {
    /* Colors - Layout.css values take precedence */
    --primary-orange: #ff8c00;
    --secondary-orange: #e57e00;
    --primary-green: #28a745;
    --secondary-green: #218838;
    --dark-bg: #2d3748;
    --light-bg: #f0f2f5;
    /* Colors - From site.css (no conflicts) */
    --primary-orange-bg: #df792f;
    --secondary-orange-bg: #ffbf54;
    --primary-orange-light: #f0a860;
    --secondary-orange-light: #e67a3c;
    /* Base Color Light Shades - From site.css (no conflicts) */
    --primary-green-light: #92d7a2;
    --primary-blue-light: #a3d5ff;
    --primary-red-light: #e0989f;
    /* Purple Shades - From layout.css (new variables) */
    --primary-purple: #9b59b6;
    --secondary-purple: #8e44ad;
    /* Blue Shades - From layout.css (new variables) */
    --primary-blue: #007bff;
    --secondary-blue: #0069d9;
    /* Gradients - Layout.css value takes precedence for orange gradient */
    --gradient-orange: linear-gradient(135deg, #ff8c00 0%, #ff6f00 100%);
    --gradient-orange-light: linear-gradient(135deg, var(--primary-orange-light) 0%, var(--secondary-orange-light) 100%);
    --gradient-green: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    /* Layout Dimensions - Layout.css values take precedence */
    --sidebar-width: 260px;
    --sidebar-short-width: 80px;
    --header-height: 70px;
}

/* Core Animations */
@keyframes blink-animation {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Core Utility Classes */
.blink {
    animation: blink-animation 1s infinite;
}

.disabled-div {
    pointer-events: none;
    opacity: 0.6;
}

.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary-green);
    transition: width 0.6s ease;
}



.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

/* Core Utilities */
.text-primary:not(.org) {
    color: var(--primary-orange) !important;
}
.text-secondary:not(.org) {
    color: var(--secondary-orange) !important;
}
.text-success:not(.org) {
    color: var(--primary-green) !important;
}
.text-danger:not(.org) {
    color: #dc3545 !important;
}
.text-warning:not(.org) {
    color: #ffc107 !important;
}
.text-info:not(.org) {
    color: #17a2b8 !important;
}
.text-dark:not(.org) {
    color: var(--dark-bg) !important;
}

.bg-primary:not(.org) {
    background-color: var(--primary-orange) !important;
}
.bg-secondary:not(.org) {
    background-color: var(--secondary-orange) !important;
}
.bg-success:not(.org) {
    background-color: var(--primary-green) !important;
}
.bg-danger:not(.org) {
    background-color: #dc3545 !important;
}
.bg-warning:not(.org) {
    background-color: #ffc107 !important;
}
.bg-info:not(.org) {
    background-color: #17a2b8 !important;
}
.bg-dark:not(.org) {
    background-color: var(--dark-bg) !important;
}
.bg-light:not(.org) {
    background-color: var(--light-bg) !important;
}

/* Light Color Classes */
.bg-primary-light {
    background-color: var(--primary-orange-light) !important;
}

.bg-success-light {
    background-color: var(--primary-green-light) !important;
}

.bg-info-light {
    background-color: var(--primary-blue-light) !important;
}

.bg-danger-light {
    background-color: var(--primary-red-light) !important;
}

/* Common Form Elements */


.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.input-group {
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: var(--light-bg);
}

    .input-group:focus-within {
        box-shadow: 0 0 0 0.25rem rgba(39, 174, 96, 0.25);
        border-color: var(--primary-green);
        background: white;
    }

.input-group-text {
    background: transparent;
    border-right: none;
    color: var(--primary-green);
    padding: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    /* color: white !important;*/
}

.btn-tmu-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white !important;
}

    .btn-tmu-primary:hover,
    .btn-tmu-primary:active {
        background: var(--secondary-orange);
        border-color: var(--secondary-orange);
    }

.btn-tmu-outline-primary {
    border-color: var(--primary-orange);
}

    .btn-tmu-outline-primary:hover,
    .btn-tmu-outline-primary:active {
        background: var(--primary-orange);
        color: white !important;
    }
