/* MAIN CONTAINER */
.sabhechi-mahiti {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background: #f5f9ff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #d0e4ff;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1e88e5;
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #1565c0;
    margin: 0;
}

.actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* SEARCH BOX */
.searchInput {
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid #90caf9;
    border-radius: 8px;
    width: 260px;
    outline: none;
    transition: border 0.3s;
    color: black;
}

/* BUTTONS */
.addButton,
.cancelButton,
.updateButton,
.editButton,
.deleteButton {
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
}

/* Add Button */
.addButton {
    background: #1976d2;
    color: white;
    padding: 10px 18px;
    box-shadow: 0 3px 6px rgba(25,118,210,0.3);
}

.addButton:hover {
    background: #1565c0;
    transform: translateY(-2px);
}

/* Cancel Button */
.cancelButton {
    background: #e0e0e0;
    color: #333;
    padding: 10px 18px;
}

/* Update Button */
.updateButton {
    background: #43a047;
    color: white;
    padding: 10px 20px;
    box-shadow: 0 3px 6px rgba(67,160,71,0.3);
}

/* FORM CARD */
.formCard {
    background: white;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    border: 1px solid #bbdefb;
}

.formGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.inputGroup,
.inputGroupFull {
    display: flex;
    flex-direction: column;
    color: #1565c0;
}

.inputGroupFull {
    grid-column: 1 / -1;
}

.label {
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 6px;
}

.input, .textarea {
    padding: 10px 12px;
    font-size: 15px;
    border: 2px solid #90caf9;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s;
    color: black;
}

.textarea {
    resize: vertical;
    min-height: 80px;
}

.formActions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* TABLE */
.tableContainer {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    border: 1px solid #bbdefb;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.thead {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: white;
}

th {
    padding: 14px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

td {
    padding: 12px 10px;
    text-align: center;
    font-size: 14.5px;
    color: #333;
}

.noData {
    padding: 30px;
    color: #999;
    font-style: italic;
}

/* Action Buttons */
.actionButtons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* Edit Button */
.editButton {
    background: #ffb300;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.editButton:hover {
    background: #ff8f00;
}

/* Delete Button */
.deleteButton {
    background: #e53935;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.deleteButton:hover {
    background: #c62828;
}

/* TIP BOX */
.tip {
    margin-top: 20px;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 10px;
    font-size: 14px;
    color: #2e7d32;
    border: 1px dashed #81c784;
    text-align: center;
}
