/* EcoGrid Custom Styles */

body {
    font-family: 'Inter', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Aktif menü linki */
.nav-link.active {
    background-color: #135bec;
    color: white;
}

.nav-link.active .material-symbols-outlined {
    color: white;
}

/* Akordeon için */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Dropdown menü için */
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.dropdown-icon {
    transition: transform 0.3s ease-in-out;
}

.dropdown-icon.open {
    transform: rotate(180deg);
}

/* Pagination */
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 0.5rem;
    border: 1px solid;
    transition: all 0.2s;
}

.page-link.active {
    border-color: #135bec;
    background-color: rgba(19, 91, 236, 0.1);
    color: #135bec;
    font-weight: 500;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Date input karanlık modda yazıları düzeltme */
.dark input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

/* Toastr Custom Styles */
#toast-container > .toast {
    background-image: none !important;
    padding: 15px 15px 15px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#toast-container > .toast-success {
    background-color: #10b981;
}

#toast-container > .toast-error {
    background-color: #ef4444;
}

#toast-container > .toast-warning {
    background-color: #f59e0b;
}

#toast-container > .toast-info {
    background-color: #3b82f6;
}

#toast-container > .toast::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
}

#toast-container > .toast-success::before {
    content: 'check_circle';
}

#toast-container > .toast-error::before {
    content: 'error';
}

#toast-container > .toast-warning::before {
    content: 'warning';
}

#toast-container > .toast-info::before {
    content: 'info';
}