* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: rgb(32, 72, 96); 
    color: white;
    margin: 0;
    text-align: center;
}

.header {
    padding: 20px;
}

.logo {
    width: 150px; 
    height: auto;
}

.university-name {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 10px;
}

.content {
    margin-top: 50px;
}

.form-section h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
    color: white;
}

.info-table {
    width: 40%;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.85); 
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); 
    overflow: hidden;
}



.info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
    color: #333;
}

.info-table td:first-child {
    font-weight: 600;
    width: 40%;
    white-space: nowrap;
}

.info-table input,
.info-table select,
.info-table textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    background-color: #f9fafb;
    color: #222;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: Arial, sans-serif;
}

.info-table input:focus,
.info-table select:focus,
.info-table textarea:focus {
    border-color: #38a169;  
    box-shadow: 0 0 8px rgba(56, 161, 105, 0.6);
    outline: none;
}

.btn {
    display: inline-block;
    margin: 10px 0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    font-family: Arial, sans-serif;
}

.btn {
    background-color: #007bff;
    color: white;
}

.btn:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.4);
}

.btn-plus {
    background-color: #ffbf00;
    color: #333;
}

.btn-plus:hover {
    background-color: #e5a800;
    box-shadow: 0 4px 10px rgba(229, 168, 0, 0.5);
}

.btn-minus {
    background-color: #e53e3e;
    color: white;
}

.btn-minus:hover {
    background-color: #c53030;
    box-shadow: 0 4px 10px rgba(197, 48, 48, 0.5);
}

.btn-add-content {
    background-color: #4299e1;
    color: white;
}

.btn-add-content:hover {
    background-color: #3182ce;
    box-shadow: 0 4px 10px rgba(49, 130, 206, 0.5);
}

.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
}

.button-container .btn {
    width: 48%;
}

.submit-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-submit {
    background-color: #38a169;
    color: white;
    width: 220px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    background-color: #2f855a;
    box-shadow: 0 6px 14px rgba(47, 133, 90, 0.6);
}



@media (max-width: 700px) {
    .info-table {
        width: 90%;
    }
    
    .button-container {
        flex-direction: column;
    }
    
    .button-container .btn {
        width: 100%;
        margin-bottom: 12px;
    }
    
    .btn-submit {
        width: 100%;
    }
}



 #loadingModal {
    display: none; 
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: flex;
  }

  #loadingModal > div {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
  }