/* =========================================
   CEPCON Global Styles & Variables
   ========================================= */

:root {
    /* Branding */
    --bg-navy: #172436; 
    --card-bg: #ffffff;
    --primary-orange: #f25c05;
    --primary-orange-hover: #d95304;
    
    /* Text & Borders */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #cbd5e1;
    
    /* Inputs */
    --input-bg: #f8fafc;
    --input-focus-ring: rgba(242, 92, 5, 0.1);
}

/* New Logo Image Style */
.brand-logo-img {
    width: 40px; /* Adjust size if needed */
    height: 40px;
    object-fit: contain; /* Ensures the logo keeps its shape */
    margin-right: 12px;
    /* REMOVED: border-radius: 50% and background-color: white */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-navy);
    min-height: 100vh;
    /* Removed the flex properties here so it doesn't break the dashboard */
}

/* Reusable Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper svg {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    background-color: var(--input-bg);
    transition: all 0.2s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-orange);
    background-color: white;
    box-shadow: 0 0 0 3px var(--input-focus-ring);
}

.helper-text {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}
     .rating-group {
            display: flex;
            gap: 15px;
            align-items: center;
            height: 42px;
            background: white;
            padding: 0 15px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
        }
        .rating-option {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-dark);
        }
        .rating-option input[type="radio"] {
            accent-color: var(--primary-orange);
            cursor: pointer;
            width: 16px;
            height: 16px;
        }
        .rating-group.disabled {
            pointer-events: none;
            opacity: 0.6;
            background-color: #f1f5f9;
        }
/* =========================================
   MODERN TOAST NOTIFICATIONS
   ========================================= */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #cbd5e1;
}

.toast.show {
    transform: translateX(0);
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Icons */
.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Text */
.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* Close Button */
.toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}
.toast-close:hover {
    color: #0f172a;
}

/* Variants */
.toast.success { border-left-color: #10b981; }
.toast.success .toast-icon { color: #10b981; }

.toast.error { border-left-color: #ef4444; }
.toast.error .toast-icon { color: #ef4444; }

.toast.warning { border-left-color: #f59e0b; }
.toast.warning .toast-icon { color: #f59e0b; }

.toast.info { border-left-color: #0284c7; }
.toast.info .toast-icon { color: #0284c7; }