body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffda007d;
}

.container {
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #7a00ffd6;
}

.add-record, .saved-records {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.saved-records {
    background-color: #e8f8e8;
}

h2 {
    text-align: center;
    color: #333;
}

/* General Page Styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f9;
}

/* Search and Display All Records Buttons */
.search-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-container input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    flex: 1;
}

.search-container button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-container button:hover {
    background-color: #0056b3;
}

/* Form Styling */
form {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #218838;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

/* Action Buttons */
button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

button:nth-child(1) {
    background-color: #ffc107; /* Edit Button */
    color: black;
}

button:nth-child(2) {
    background-color: #dc3545; /* Delete Button */
    color: white;
}

/* Excel Buttons */
.excel-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.excel-container button,
.excel-container input[type="file"] {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.excel-container button:hover,
.excel-container input[type="file"]:hover {
    background-color: #218838;
}


/* Style for Action Buttons (Edit & Delete) */
.actions {
    display: flex;
    gap: 10px; /* Adds space between buttons */
}

/* Individual Button Styling */
.actions button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.actions button:hover {
    opacity: 0.8;
}

/* Edit Button */
.actions .edit-btn {
    background-color: #ffc107;
    color: black;
}

/* Delete Button */
.actions .delete-btn {
    background-color: #dc3545;
    color: white;
}




/
/

/* Form Styling */
form {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    max-width: 400px;
    margin: auto;
}

form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #218838;
}

/* Action Buttons */
.actions {
    display: flex;
    gap: 10px; /* Adds space between buttons */
}

.actions button {
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.actions .edit-btn {
    background-color: #ffc107; /* Edit Button */
    color: black;
}

.actions .delete-btn {
    background-color: #dc3545; /* Delete Button */
    color: white;
}
