/* Sulis Color Scheme - Based on Logo */
:root {
    /* Primary Colors */
    --sulis-primary: #1a365d;       /* Dark Blue - Used for headers, primary buttons */
    --sulis-primary-light: #2c5282; /* Lighter shade of primary */
    --sulis-primary-dark: #2c3e50;  /* Darker shade of primary */
    
    /* Secondary Colors */
    --sulis-secondary: #3182ce;     /* Blue - Used for secondary elements, links */
    --sulis-secondary-light: #63b3ed; /* Lighter shade of secondary */
    
    /* Accent Colors */
    --sulis-accent: #e53e3e;        /* Red - Used for important actions, errors */
    --sulis-accent-light: #fc8181;  /* Lighter shade of accent */
    
    /* Success & Status Colors */
    --sulis-success: #38a169;       /* Green - Success messages, completed states */
    --sulis-warning: #dd6b20;       /* Orange - Warning messages */
    --sulis-info: #3182ce;          /* Blue - Informational messages */
    --sulis-danger: #e53e3e;        /* Red - Error messages, destructive actions */
    
    /* Neutral Colors */
    --sulis-light: #f7fafc;         /* Light gray - Backgrounds, cards */
    --sulis-gray: #e2e8f0;          /* Gray - Borders, dividers */
    --sulis-dark: #2d3748;          /* Dark gray - Text, headings */
    --sulis-darker: #1a202c;        /* Almost black - Important text */
    
    /* Additional Colors */
    --sulis-teal: #38b2ac;          /* Teal - Accent color */
    --sulis-purple: #805ad5;        /* Purple - Accent color */
    --sulis-pink: #d53f8c;          /* Pink - Accent color */
}

/* Text Colors */
.text-sulis-primary { color: var(--sulis-primary); }
.text-sulis-secondary { color: var(--sulis-secondary); }
.text-sulis-accent { color: var(--sulis-accent); }
.text-sulis-success { color: var(--sulis-success); }
.text-sulis-warning { color: var(--sulis-warning); }
.text-sulis-danger { color: var(--sulis-danger); }
.text-sulis-dark { color: var(--sulis-dark); }
.text-sulis-darker { color: var(--sulis-darker); }

/* Background Colors */
.bg-sulis-primary { background-color: var(--sulis-primary); }
.bg-sulis-secondary { background-color: var(--sulis-secondary); }
.bg-sulis-accent { background-color: var(--sulis-accent); }
.bg-sulis-light { background-color: var(--sulis-light); }
.bg-sulis-gray { background-color: var(--sulis-gray); }

/* Border Colors */
.border-sulis-primary { border-color: var(--sulis-primary); }
.border-sulis-secondary { border-color: var(--sulis-secondary); }
.border-sulis-accent { border-color: var(--sulis-accent); }
.border-sulis-gray { border-color: var(--sulis-gray); }

/* Button Styling */
.btn-sulis-primary {
    background-color: var(--sulis-primary);
    color: white;
    border: 1px solid var(--sulis-primary);
}

.btn-sulis-primary:hover {
    background-color: var(--sulis-primary-dark);
    border-color: var(--sulis-primary-dark);
}

.btn-sulis-secondary {
    background-color: var(--sulis-secondary);
    color: white;
    border: 1px solid var(--sulis-secondary);
}

.btn-sulis-secondary:hover {
    background-color: var(--sulis-secondary-light);
    border-color: var(--sulis-secondary-light);
}

/* Card Styling */
.card-sulis {
    border: 1px solid var(--sulis-gray);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: white;
}

.card-sulis-header {
    background-color: var(--sulis-primary);
    color: white;
    padding: 1rem 1.25rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--sulis-secondary);
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.25);
}

/* Alert Styling */
.alert-sulis {
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-sulis-success {
    background-color: #f0fff4;
    border-left: 4px solid var(--sulis-success);
    color: #22543d;
}

.alert-sulis-warning {
    background-color: #fffaf0;
    border-left: 4px solid var(--sulis-warning);
    color: #7b341e;
}

.alert-sulis-danger {
    background-color: #fff5f5;
    border-left: 4px solid var(--sulis-danger);
    color: #742a2a;
}

/* Table Styling */
.table-sulis thead th {
    background-color: var(--sulis-light);
    color: var(--sulis-darker);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
}

.table-sulis tbody tr {
    border-bottom: 1px solid var(--sulis-gray);
}

.table-sulis tbody tr:last-child {
    border-bottom: none;
}

/* Utility Classes */
.rounded-sulis {
    border-radius: 0.5rem;
}

.shadow-sulis {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-sulis {
        border-radius: 0;
    }
    
    .card-sulis-header {
        border-radius: 0;
    }
}

/* Utility Bills Index Page Styles */
.bills-utility-index table {
    @apply text-xs;
}

.bills-utility-index .text-2xl {
    @apply text-xl;
}

.bills-utility-index .text-sm {
    @apply text-xs;
}

.bills-utility-index .text-xs {
    @apply text-2xs;
    @apply leading-4;
}

.bills-utility-index .px-6 {
    @apply px-3;
}

.bills-utility-index .py-4 {
    @apply py-2;
}

.bills-utility-index .p-6 {
    @apply p-4;
}

.bills-utility-index .space-y-4 > :not([hidden]) ~ :not([hidden]) {
    @apply space-y-2;
}

.bills-utility-index .space-x-4 > :not([hidden]) ~ :not([hidden]) {
    @apply space-x-2;
}
