/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Dashboard Cards */
.dashboard-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Table styles */
.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Section Headers in Index page */
.section-header-content {
    position: relative;
}

.section-buttons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Make sure table content wraps properly */
.table td {
    white-space: normal;
    word-wrap: break-word;
}

/* Status colors for items */
.table-success {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

.table-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.table-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.table-secondary {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

/* Container Item Styling */
.container-item {
    border-left: 4px solid #9B59B6;
}

/* Modal enhancements */
.modal-xl {
    max-width: 95%;
}

/* Fix for accordion button content */
.accordion-button::after {
    margin-left: 0;
    position: absolute;
    left: 1rem;
}

/* Section and Item Styles with Poppins Font */
.section-header {
    font-family: 'Poppins', sans-serif;
    font-size: 14pt;
}

.accordion-item.accordion-section {
    border: 2px solid #003366; /* Navy blue border for sections */
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* Subsection styles */
.subsections-container {
    border-left: 3px solid #eaeaea;
    padding-left: 15px;
    margin-bottom: 20px;
}

.subsection-heading {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #6c757d;
}

.subsection-item {
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 2px solid #cfe2ff;
}

.subsection-item:hover {
    background-color: #f8f9fa;
}

.subsection-buttons {
    display: flex;
    gap: 5px;
}

.item-table {
    font-family: 'Poppins', sans-serif;
}

.inventory-header {
    background-color: #f2f7ff;
    font-weight: 600;
}

/* Zimmet bilgisi için özel stil */
.zimmet-info {
    text-align: center;
    padding: 2px 0;
    border-radius: 4px;
    background-color: rgba(255, 193, 7, 0.1);
    transition: all 0.2s ease;
}

.zimmet-info:hover {
    background-color: rgba(255, 193, 7, 0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.zimmet-info .badge {
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 2px;
}

.zimmet-info .small {
    color: #555;
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-buttons {
        position: static;
        margin-top: 10px;
        transform: none;
        display: flex;
        justify-content: space-between;
    }
    
    .section-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}