/* General Reset */
body, h1, h2, p, table, input, select, button, textarea {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #444;
    text-align: center;
}

p {
    margin-bottom: 10px;
}

/* Form Styles */
form {
    margin-bottom: 20px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input, select, textarea, button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    background-color: #5cb85c;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

button:hover {
    background-color: #4cae4c;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table thead {
    background-color: #5cb85c;
    color: white;
}

table th, table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

table th {
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

/* Links */
a {
    color: #5cb85c;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Search Form */
form[action=""] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form[action=""] input[type="text"] {
    width: 80%;
    margin-right: 10px;
}

form[action=""] button {
    width: 18%;
}

/* Profile Container */
.student-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.profile-photo img {
    border-radius: 50%;
    border: 2px solid #ddd;
}

.profile-details {
    flex-grow: 1;
}

.profile-details p {
    margin: 5px 0;
    font-size: 1rem;
}

a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #5cb85c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

a:hover {
    background-color: #4cae4c;
}
