/* DASHBOARD CORE STYLES */
:root {
    --primary: #c53a00;
    --primary-hover: #a53200;
    --accent: #feb400;
    --bg-body: #f4f7f9;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05);
    --radius: 20px;
    --radius-sm: 12px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
}

  h3 {font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.agent226-header-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.agent226-header-links a {
    line-height: 1;
}


.agent226-header-links .nav-greeting {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.agent226-header-links .nav-greeting .emoji {
    width: 1.15em;
    height: 1.15em;
}



/* Layout Air */
.container.my-5 {
    max-width: 1320px;
    margin-top: 3rem !important;
}

.row.g-4 > div > .card {
    margin-bottom: 1.5rem;
}

/* Header & Buttons */
.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-header-actions .btn {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm) !important;
    margin: 0 !important;
}

/* Command Center Button Base */
.btn-command {
    background-color: var(--accent) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--primary) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Command Center Hover Effect */
.btn-command:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 58, 0, 0.2);
}

/* Card & Form UI */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.card-body {
    padding: 1.75rem !important;
}

/* Agent 226 GPT explainer text */
.card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.card-body h3 + p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}


.form-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem !important;
    color: var(--text-muted);
    font-weight: 700;
}

/* GPT Highlight & Toast Fix */
.gpt-highlight {
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary), var(--accent)) border-box;
    border: 2px solid transparent !important;
    box-shadow: 0 20px 40px -12px rgba(197, 58, 0, 0.15);
}

.copy-notification {
    visibility: hidden;
    position: fixed; /* Ensures it doesn't break the layout */
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    z-index: 10000;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(197, 58, 0, 0.4);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.copy-notification.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Switches */
.form-switch .form-check-input {
    height: 1.6rem !important;
    width: 3rem !important;
    cursor: pointer;
}

/* 1. Customizing the Form Switches (Toggles) */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--accent);
    outline: 0;
    /* This adds a subtle glow using your accent color */
    box-shadow: 0 0 0 0.25rem rgba(254, 180, 0, 0.25);
}

/* 2. Customizing Text Inputs */
.form-control:focus {
    border-color: var(--primary);
    /* Overriding the default blue focus shadow */
    box-shadow: 0 0 0 0.25rem rgba(197, 58, 0, 0.25);
}

/* Optional: Subtle hover effect for inputs */
.form-control:hover {
    border-color: var(--accent);
}

/* Adjusting the toggle handle image (optional, ensures high contrast) */
.form-switch .form-check-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}