/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

/* Menu Styling */
.menu {
    display: flex;
    justify-content: center;
    background-color: #2c3e50;
    padding: 10px;
    border-bottom: 3px solid #1abc9c;
}

.menu a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    background-color: #34495e;
    transition: 0.3s ease-in-out;
}

.menu a:hover {
    background-color: #1abc9c;
    color: #fff;
}

/* Main Content Styling */
.main-content {
    padding: 30px;
    max-width: 100%;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Table Styling */
table {
    width: 100%;
	max-width:100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 18px;
    min-width: 400px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

table thead tr {
    background-color: #3498db;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

table th,
table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

table tbody tr {
    border-bottom: 1px solid #dddddd;
}

table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

table tbody tr:last-of-type {
    border-bottom: 2px solid #3498db;
}

table tbody tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }

    .menu a {
        margin: 5px 0;
    }

    .main-content {
        padding: 15px;
    }

    table {
        font-size: 16px;
    }
}






label {
    display: block;
    font-size: 16px;
	font-weight: bold;
    color: #555;
    margin-bottom: 1px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
button,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
button:focus,
textarea:focus {
    border-color: #1abc9c;
    outline: none;
}

/* Submit button */
input[type="submit"], button[type="submit"] {
    background-color: #1abc9c;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

input[type="submit"]:hover, button[type="submit"]:hover {
    background-color: #16a085;
}

/* Additional styling */
textarea {
    resize: vertical;
    min-height: 100px;
}

/* Base styling for message div */
.message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

/* Success message styling */
.message.success {
    background-color: #28a745; /* Green background */
    border-left: 5px solid #218838; /* Darker green border */
}

.message.success::before {
    content: "✓"; /* Checkmark icon */
    margin-right: 10px;
    font-size: 20px;
}

/* Error message styling */
.message.error {
    background-color: #dc3545; /* Red background */
    border-left: 5px solid #c82333; /* Darker red border */
}

.message.error::before {
    content: "✖"; /* Cross icon */
    margin-right: 10px;
    font-size: 20px;
}

/* Additional hover effect */
.message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

body:hr{
    display: none!important;
}