/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styling for body */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    padding: 20px;
}

/* Container for form and content */
.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form label styles */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Input and select box styles */
input[type=text],
input[type=email],
input[type=tel],
input[type=password],
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Radio button styles */
input[type=radio] {
    margin-right: 5px;
    vertical-align: middle;
}

/* Submit button styles */
button[type=submit],
a.button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button[type=submit]:hover,
a.button:hover {
    background-color: #45a049;
}

/* Success page styles */
.success-message {
    text-align: center;
    padding: 20px;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    margin-bottom: 20px;
}

.success-message button {
    margin-top: 10px;
}

/* Admin dashboard styles */
.admin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.admin-panel {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin-panel h2 {
    margin-bottom: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.admin-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.admin-actions {
    margin-top: 10px;
}

.admin-actions button {
    margin-right: 10px;
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.admin-actions button:hover {
    background-color: #c9302c;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=password],
    select {
        margin-bottom: 10px;
    }

    button[type=submit],
    a.button {
        padding: 8px 15px;
    }
}
