.repeatable-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset -1px -1px 5px 0px rgb(66 17 71 / 10%), inset 1px 1px 5px 0px rgb(113 38 125 / 10%);
}

.repeatable-row {
    display: table-row;
}

.repeatable-row.header {
    font-weight: bold;
    text-align: center;
    font-size: 91%;
}

.repeatable-cell {
    display: table-cell;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.repeatable-cell input,
.repeatable-cell select {
    width: 100%;
    box-sizing: border-box;
}

.remove-button {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}


.repeatable-add-button button{
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.student-profile-form {
    max-width: 800px;
    margin: 0 auto;
}

.student-profile-form h2, 
.student-profile-form h3{
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.personal-info-grid,
.coursework-grid, 
.academic-interests-grid {
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset -1px -1px 5px 0px rgb(66 17 71 / 10%), inset 1px 1px 5px 0px rgb(113 38 125 / 10%);
    margin-bottom: 20px;
}

.personal-info-grid select,
.coursework-grid select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.personal-info-grid input,
.coursework-grid input {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    margin-right: 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.personal-info-grid label, .coursework-grid label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #495057;
}
@media (min-width: 768px) {
    .personal-info-grid, .coursework-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
}

.save-profile-button {
    background-color: purple;  /* Bootstrap primary blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    align-self: center;
    display: block;
    margin: 20px auto 0;
}

.save-profile-button:hover {
    background-color: #0056b3;  /* Darker blue on hover */
}

.save-profile-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}
