html{
    height: 100%;
    width: 100%;
    margin: 0;
}

body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background: url('../../img/background.png') no-repeat center center fixed;
    background-size: cover;
}

body > .d-flex.min-vh-100.overflow-x-hidden {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.sidebar-content-wrapper {
    height: 100vh;
    min-height: 0;
    overflow: hidden;
}

.sidebar-content-wrapper > main {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.text-secondary{
    color: #374151;
}

input {
    width: 100%;
    padding: 8px 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s ease;
}

input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 10px;
    cursor: pointer;
}


.form-group i {
    position: absolute;
    margin-left: 12px;
    align-self: center;
}

.password-toggle-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
}

.password-toggle-icon:hover {
    color: #2563eb;
}

/* Dashboard Analytics Styles */
.card-analytics {
    background: white;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.3s ease;
}

.form-select-sm {
    font-size: 0.875rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #374151;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.form-select-sm:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Status Legend */
.status-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.legend-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.legend-value {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .transactions-analytics .row {
        flex-direction: column;
    }

    .chart {
        flex: 0 0 100%;
    }

    .card-analytics {
        padding: 16px;
    }
}

/* Chart animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-analytics {
    animation: fadeIn 0.3s ease-out;
}

.transactions-table {
    min-width: 820px;
}

.transactions-table th,
.transactions-table td {
    white-space: nowrap;
    padding: 16px 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.status-success {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.status-created {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.status-cancel {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.pagination {
    li .page-link {
        border-radius: 6px !important;
    }

    li:not(:last-child) {
        margin-right: 12px !important;
    }
}

@media (max-width: 767.98px) {
    .transactions-card {
        border-radius: 14px !important;
    }
}