/* --- PREMIUM ASSIGNED TASKS UI --- */
.premium-card {
    background: #ffffff;
    /* Clean White Base */
    border: 1px solid rgba(212, 175, 55, 0.4);
    /* Thin gold border */
    border-radius: 16px;
    /* Soft rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Very subtle shadow */
    padding: 0;
    /* Header/Body split */
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-card:hover {
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.8);
    transform: translateY(-2px);
}

.premium-header {
    background: #fdfcf8;
    /* Very light off-white/gold tint */
    padding: 20px 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-title {
    color: #333;
    font-family: 'Playfair Display', serif;
    /* Legal Theme Font */
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.premium-title i {
    color: #D4AF37;
    font-size: 1.2rem;
}

.premium-badge {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.2) 100%);
    color: #8a6d0b;
    padding: 6px 16px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-wrap: wrap;
}

.premium-body {
    padding: 10px 0;
    background: #fff;
}

/* Task Row */
.task-row {
    padding: 16px 25px;
    display: flex;
    align-items: center;
    /* Checkbox and text aligned */
    gap: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.task-row:last-child {
    border-bottom: none;
}

.task-row:hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
}

.task-label {
    flex: 1;
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

.task-row.checked .task-label {
    color: #059669;
    /* Soft Green */
    opacity: 0.8;
}

.task-row.checked::after {
    content: '';
    position: absolute;
    right: 25px;
    width: 8px;
    height: 14px;
    border: solid #059669;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0.4;
}

/* Custom Checkbox */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    flex-shrink: 0;
}

.custom-checkbox:hover {
    border-color: #D4AF37;
    background: #fffbf0;
}

.custom-checkbox:checked {
    background-color: #D4AF37;
    border-color: #D4AF37;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.custom-checkbox:checked::after {
    content: '✓';
    /* Simple unicode check for reliability or font awesome if loaded */
    font-weight: 900;
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

/* Timeline/Stage List Item Style (if applicable) */
.stage-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background 0.2s;
}

.stage-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Responsive */
@media (max-width: 768px) {
    .premium-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .premium-badge {
        align-self: flex-start;
        margin-left: 0;
    }
}

/* --- NOTIFICATIONS UI --- */
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #4b5563;
    cursor: pointer;
    position: relative;
    padding: 8px;
    transition: color 0.2s;
}

.notification-btn:hover {
    color: #D4AF37;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e3342f;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    border: 1px solid white;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    margin-top: 10px;
}

.notification-header {
    background: #fdfcf8;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-family: 'Playfair Display', serif;
}

.notification-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s;
    cursor: pointer;
}

.notification-item:hover {
    background: #fafafa;
}

.notification-item.unread {
    background: #fffbf0;
    /* slight gold tint */
    border-left: 3px solid #D4AF37;
}

.notification-item.unread .noti-title {
    font-weight: 700;
    color: #000;
}

.noti-title {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.noti-time {
    font-size: 0.75rem;
    color: #888;
    font-weight: normal;
}

.noti-msg {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: white;
    min-width: 300px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #D4AF37;
    animation: slideInRight 0.3s ease forwards;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast.success {
    border-left-color: #28a745;
}

.toast.warning {
    border-left-color: #ffc107;
}

.toast.error {
    border-left-color: #dc3545;
}

.toast.assigned {
    border-left-color: #007bff;
}

.toast-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    color: #333;
}

.toast-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.toast-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* --- EXPORT BUTTONS --- */
.export-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.btn-export-excel,
.btn-export-pdf {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-export-excel {
    background-color: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.btn-export-excel:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.15);
}

.btn-export-pdf {
    background-color: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.btn-export-pdf:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.15);
}

.btn-export-excel svg,
.btn-export-pdf svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* --- DEPARTMENT OVERVIEW UI --- */
.dept-overview-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
}

.dept-info-bar {
    background: #fff;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    color: #374151;
}

.dept-info-bar i {
    color: #f59e0b;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.dept-card-premium {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.dept-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
}

.dept-card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.dept-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.dept-icon-box i {
    font-size: 1.25rem;
}

.dept-name-premium {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

.dept-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.dept-stat-item {
    display: flex;
    flex-direction: column;
}

.dept-stat-val {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.dept-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: 2px;
}

.dept-footer-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.view-dash-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.view-dash-link:hover {
    text-decoration: underline;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* --- USER MANAGEMENT REDESIGN --- */
.um-header-section {
    background: #fff;
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.um-title-group h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.um-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

.um-search-container {
    position: relative;
    width: 280px;
}

.um-search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.um-search-input:focus {
    border-color: #3b82f6;
}

.um-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
}

.um-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 24px 24px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.um-stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.um-stat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.um-stat-info {
    display: flex;
    flex-direction: column;
}

.um-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.um-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.um-filter-bar {
    padding: 16px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.um-filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 8px;
}

.um-filter-pill {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

.um-filter-pill:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.um-filter-pill.active {
    background: #fffbeb;
    color: #92400e;
    border-color: #f59e0b;
}

.um-table-container {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.um-table {
    width: 100%;
    border-collapse: collapse;
}

.um-table th {
    padding: 12px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.um-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
    color: #374151;
    vertical-align: middle;
}

.um-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.um-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.um-user-name {
    font-weight: 600;
    color: #111827;
}

.um-role-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.um-role-owner {
    background: #fffbeb;
    color: #b45309;
}

.um-role-admin {
    background: #f5f3ff;
    color: #6d28d9;
}

.um-role-deptadmin {
    background: #eff6ff;
    color: #1e40af;
}

/* --- D&D MODERN PREMIUM UTILITIES --- */

:root {
    --dnd-gold-primary: #D4AF37;
    --dnd-gold-light: #F9F1D7;
    --dnd-gold-dark: #8A6D0B;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(212, 175, 55, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--dnd-gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.15);
}

.gold-mesh {
    background-color: #ffffff;
    background-image: radial-gradient(at 0% 0%, rgba(212, 175, 55, 0.05) 0, transparent 50%),
                      radial-gradient(at 50% 0%, rgba(212, 175, 55, 0.08) 0, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.05) 0, transparent 50%);
}

@keyframes pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.alert-pulse {
    animation: pulse-red 2s infinite;
    border: 2px solid #dc3545 !important;
}

@keyframes task-success {
    from { background-color: rgba(40, 167, 69, 0.1); transform: translateX(-5px); }
    to { background-color: transparent; transform: translateX(0); }
}

.task-row.just-checked {
    animation: task-success 0.5s ease-out;
}

.dnd-section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--dnd-gold-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dnd-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--glass-border), transparent);
}

.countdown-container {
    background: #1a1a1a;
    color: #ffd700;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.countdown-value {
    font-size: 1.2rem;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.countdown-value.warning { color: #ffae00; text-shadow: 0 0 5px rgba(255, 174, 0, 0.5); }
.countdown-value.critical { color: #ff3333; text-shadow: 0 0 5px rgba(255, 51, 51, 0.5); animation: blink 1s infinite; }

@keyframes blink {
    50% { opacity: 0.3; }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .um-header-section {
        flex-direction: column;
        gap: 20px;
    }

    .um-search-container {
        width: 100%;
    }

    .um-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .um-filter-bar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .um-table-container {
        overflow-x: auto;
    }

    .notification-dropdown {
        width: 300px;
        position: fixed;
        right: 15px;
        left: 15px;
        top: 80px;
    }

    .dept-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .um-stats-bar {
        grid-template-columns: 1fr;
    }

    .premium-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.um-role-staff {
    background: #f0fdf4;
    color: #15803d;
}

.um-status-active {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-weight: 600;
}

.um-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.um-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 4px;
}

.um-action-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #111827;
}

.um-action-edit:hover {
    color: #3b82f6;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.um-action-delete:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

/* --- D&D STAGE-WISE SOP WORKFLOW --- */
.sop-workflow-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.sop-stage-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.sop-stage-card.expanded {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.sop-stage-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    user-select: none;
    transition: background 0.2s;
}

.sop-stage-header:hover {
    background: #fafafa;
}

.sop-stage-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #374151;
    font-family: 'Inter', sans-serif;
}

.sop-stage-status-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Status Colors */
.status-blue .sop-stage-status-badge { background: #eff6ff; color: #2563eb; }
.status-green .sop-stage-status-badge { background: #f0fdf4; color: #15803d; }
.status-orange .sop-stage-status-badge { background: #fff7ed; color: #c2410c; }
.status-gray .sop-stage-status-badge { background: #f9fafb; color: #6b7280; }

.status-blue { border-left: 4px solid #3b82f6; }
.status-green { border-left: 4px solid #10b981; }
.status-orange { border-left: 4px solid #f59e0b; }
.status-gray { border-left: 4px solid #d1d5db; opacity: 0.8; }

.sop-stage-body {
    padding: 0 20px 20px;
    display: none; /* Hidden by default */
    border-top: 1px solid #f3f4f6;
    background: #fff;
}

.sop-stage-card.expanded .sop-stage-body {
    display: block; /* Show when expanded */
}

.sop-stage-card.expanded .fa-chevron-down {
    transform: rotate(180deg);
}

.sop-task-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 15px;
}

/* Vertical Timeline Indicator */
.dnd-sop-layout .left-col {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* SOP Forms */
.sop-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.sop-form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.sop-form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s;
}

.sop-form-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}