/* common.css */

/* General styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    margin: 20px;
    box-sizing: border-box;
}

/* Navigation styles */
nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #ccc;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

nav ul li a.bold {
    font-weight: bold;
    color: #4CAF50;
}

/* Heading styles */
h1 {
    color: #4CAF50;
}

/* Form styles */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

select, input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    box-sizing: border-box;
}

textarea {
    height: 100px;
}

/* Button styles */
.buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.popup-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.popup-content {
    margin-top: 10px;
}

/* Loading styles */
.loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
}

/* Contact link styles */
.contact-link {
    margin-top: 20px;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 600px) {
    .container {
        padding: 15px;
        margin: 10px;
    }
    .buttons {
        flex-direction: column;
    }
    button {
        width: 100%;
        margin-bottom: 10px;
    }
}
