/* Fees Page Specific Styles */

.tabs-container {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: #5DADE2;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #5DADE2;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Fee Collection Styles */
.search-student-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#studentSearchInput {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Noto Nastaliq Urdu', serif;
}

#searchStudentBtn {
    padding: 10px 25px;
    background-color: #5DADE2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.student-fee-details-container {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 20px;
}

/* Fee Structure Styles */
.fee-structure-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.fee-structure-form input, .fee-structure-form select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#save-structure-btn {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    grid-column: 1 / -1; /* Span across all columns */
}

#fee-structure-display {
    margin-top: 20px;
}
