
/* -------------------------------------- */
/* --- NEW: Contact Button Styling --- */
/* -------------------------------------- */

.header-controls .control-button {
    background-color: var(--primary-color); /* Use a defined primary color */
    color: var(--background-color);
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-right: 15px; /* Space between button and timezone selector */
}

.header-controls .control-button:hover {
    background-color: var(--hover-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.header-controls .control-button i {
    margin-right: 8px;
}

/* -------------------------------------- */
/* --- NEW: Modal Styling --- */
/* -------------------------------------- */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top of everything */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    /* background-color: rgba(49, 48, 48, 0.7); /* Black w/ opacity */
    backdrop-filter: blur(5px);
}

/* Modal Content/Box */
.modal-content {
    /*background-color: var(--card-background);*/
    background-color: rgb(175, 172, 172);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%; /* Could be more or less, depending on screen size */
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    color: var(--text-color);
}

/* The Close Button */
.close-btn {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--accent-color);
    text-decoration: none;
}

/* Form Styling */
.modal-content h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.modal-content p.modal-message {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}

.modal-content form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.modal-content form input[type="text"],
.modal-content form input[type="email"],
.modal-content form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    /*border: 1px solid var(--border-color);*/
    border: 1px solid #0c0c0c;
    border-radius: 6px;
    background-color: var(--input-background);
    color: var(--text-color);
    box-sizing: border-box; /* Important for padding/width calculation */
}

.modal-content form textarea {
    resize: vertical;
}

.modal-content form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--background-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.2s;
}

.modal-content form button[type="submit"]:hover {
    background-color: var(--hover-color);
}

.loading-indicator {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: var(--accent-color);
}

.required {
    color: #f00;
}