/* Custom Styles */
/* Global logo styles */
img[src*='logo.png'] {
    max-width: 80px !important;
    max-height: 32px !important;
    object-fit: contain !important;
}

:root {
    --primary-50: 240 249 255;
    --primary-100: 224 242 254;
    --primary-200: 186 230 253;
    --primary-300: 125 211 252;
    --primary-400: 56 189 248;
    --primary-500: 14 165 233;
    --primary-600: 2 132 199;
    --primary-700: 3 105 161;
    --primary-800: 7 89 133;
    --primary-900: 12 74 110;
    --primary-950: 8 47 73;
    
    --danger-50: 254 242 242;
    --danger-100: 254 226 226;
    --danger-200: 254 202 202;
    --danger-300: 252 165 165;
    --danger-400: 248 113 113;
    --danger-500: 239 68 68;
    --danger-600: 220 38 38;
    --danger-700: 185 28 28;
    --danger-800: 153 27 27;
    --danger-900: 127 29 29;
    --danger-950: 69 10 10;
}

/* Footer styles */
footer.fixed {
    z-index: 40;
    box-shadow: 0 -1px 3px 0 rgb(0 0 0 / 0.1);
}

footer a:hover {
    color: rgb(var(--primary-600));
}

/* Custom styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
}

/* Filament Form Styles */
input[type='text'],
input[type='password'] {
    border-color: rgb(209 213 219);
}

input[type='text']:focus,
input[type='password']:focus {
    border-color: rgb(var(--primary-300));
    --tw-ring-color: rgb(var(--primary-200));
}

.text-danger-600 {
    color: rgb(var(--danger-600));
}

.bg-primary-600 {
    background-color: rgb(var(--primary-600));
}

.hover\:bg-primary-500:hover {
    background-color: rgb(var(--primary-500));
}

.text-primary-600 {
    color: rgb(var(--primary-600));
}

.hover\:text-primary-500:hover {
    color: rgb(var(--primary-500));
}

.focus\:ring-primary-200:focus {
    --tw-ring-color: rgb(var(--primary-200));
}

.focus\:ring-primary-500:focus {
    --tw-ring-color: rgb(var(--primary-500));
}

.focus\:border-primary-300:focus {
    border-color: rgb(var(--primary-300));
}

.main-content {
    margin-left: 250px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1;
    padding: 1.5rem;
}

.footer {
    background: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    margin-top: auto;
}

.submenu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    background: #f8f9fa;
}

.submenu.show {
    display: block;
}

.menu-item {
    padding: 0.75rem 1rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: #f7fafc;
    color: #2d3748;
}

.menu-item i {
    width: 1.5rem;
    margin-right: 0.75rem;
}

.submenu .menu-item {
    padding-left: 2.5rem;
}

.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: auto;
}

.has-submenu > a.active::after {
    transform: rotate(180deg);
}
