/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f8ff, #e3e8ed);
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(90deg, #0078d7, #005bb5);
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Main Section */
main {
    flex: 1;
    padding: 50px 20px;
    text-align: center;
}

main h2 {
    font-size: 2.2rem;
    color: #005bb5;
    margin-bottom: 15px;
}

main p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.floating-buttons .button {
    background-color: #0078d7;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.floating-buttons .button:hover {
    background-color: #005bb5;
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Forms */
form {
    max-width: 500px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
    color: #333;
}

form input, form select, form button {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form input:focus, form select:focus {
    outline: none;
    border-color: #0078d7;
    box-shadow: 0 0 8px rgba(0, 120, 215, 0.5);
}

form button {
    background: #0078d7;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

form button:hover {
    background: #005bb5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

table th {
    background: #0078d7;
    color: white;
    font-weight: bold;
}

table tr:hover {
    background: #f3f3f3;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Buttons */
button, .action-button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, background-color 0.3s ease;
}

button:hover, .action-button:hover {
    transform: scale(1.1);
    background-color: #005bb5;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 0.9rem;
    }

    form {
        padding: 20px;
    }

    .floating-buttons .button {
        font-size: 0.9rem;
    }
}
