* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

body {
    background-color: #c9d6ff;
    background: linear-gradient(to right, #e2e2e2, #c9d6ff);
}

.container {
    background: #fff;
    width: 450px;
    padding: 1.5rem;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 20px 35px rgba(0, 0, 1, 0.9);
}

form {
    margin: 0 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 1.3rem;
    margin-bottom: 0.4rem;
}

input {
    color: inherit;
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #757575;
    padding-left: 1.5rem;
    font-size: 15px;
}

.input-group {
    position: relative;
    padding: 1% 0;
}

.input-group i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px; /* Adjust as needed to align with input fields */
    color: black;
}


input:focus {
    background-color: transparent;
    outline: transparent;
    border-bottom: 2px solid hsl(327, 90%, 28%);
}

input::placeholder {
    color: transparent;
}

label {
    color: #757575;
    position: relative;
    left: 1.2em;
    top: -1.3em;
    cursor: auto;
    transition: 0.3s ease all;
}

input:focus~label,
input:not(:placeholder-shown)~label {
    top: -3em;
    color: hsl(327, 90%, 28%);
    font-size: 15px;
}

.recover {
    text-align: right;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.recover a {
    text-decoration: none;
    color: rgb(125, 125, 235);
}

.recover a:hover {
    color: blue;
    text-decoration: underline;
}

.btn {
    font-size: 1.1rem;
    padding: 8px 0;
    border-radius: 5px;
    outline: none;
    border: none;
    width: 100%;
    background: rgb(125, 125, 235);
    color: white;
    cursor: pointer;
    transition: 0.9s;
}

.btn:hover {
    background: #07001f;
}

.or {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
}

.icons {
    text-align: center;
}

.icons i {
    color: rgb(125, 125, 235);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    border: 2px solid #dfe9f5;
    margin: 0 15px;
    transition: 1s;
}

.icons i:hover {
    background: #07001f;
    font-size: 1.6rem;
    border: 2px solid rgb(125, 125, 235);
}

.links {
    display: flex;
    justify-content: space-around;
    padding: 0 4rem;
    margin-top: 0.9rem;
    font-weight: bold;
}

button {
    color: rgb(125, 125, 235);
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: bold;
}

button:hover {
    text-decoration: underline;
    color: blue;
}

/* Styles for the homepage */
.header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgb(125, 125, 235);
    color: white;
    align-items: center;
}

.header .welcome p {
    margin: 0;
    font-size: 1.2rem;
}

.header .logout-btn {
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 5px;
    outline: none;
    border: none;
    background: white;
    color: rgb(125, 125, 235);
    cursor: pointer;
    transition: 0.3s;
}

.header .logout-btn:hover {
    background: #07001f;
    color: white;
}

.table-container {
    text-align: center;
    padding: 5%;
}

table {
    border: 1px solid #000;
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

table th, table td {
    border: 1px solid #000;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Existing styles remain the same */

/* Add more spacing between form elements */
.input-group {
    padding: 1% 0;
    position: relative;
    margin-bottom: 20px; /* Increase space between input groups */
}

/* Ensure label and input are properly spaced */
label {
    color: #757575;
    position: relative;
    left: 1.2em;
    top: -1.3em;
    cursor: auto;
    transition: 0.3s ease all;
    display: block;
    margin-bottom: 10px; /* Increase space below the label */
}

input, select {
    margin-top: 10px; /* Increase space above the input/selection */
    padding-left: 1.5rem;
    font-size: 15px;
    width: calc(100% - 1.5rem); /* Adjust width to account for padding */
    display: block; /* Ensure inputs/selects are block elements */
}

input[type="file"] {
    margin-top: 30px; /* More space for the file input */
}

.input-group i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    margin-right: 10px;
}

.input-group select, .input-group input[type="file"] {
    padding-left: 2rem; /* Space for the icon */
}

label[for="file"] {
    margin-top: 10px; /* Space between file input and label */
}

.admin-header {
    background: rgb(255, 0, 0); /* Red color */
    color: white;
}

.admin-header .logout-btn {
    color: rgb(255, 0, 0); /* Match the button color with the red header */
}

.admin-header .logout-btn:hover {
    background: #07001f;
    color: white;
}