/* Label style (same size as Full Name etc.) */

.form-label,
.form-floating label {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #495057;
    margin-top: 1.2rem;
    margin-bottom: 0.4rem;
    font-family: inherit;
}

/* Dropdown select */

.form-select {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.9rem;
    font-family: inherit;
    color: #6c757d;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
}

/* Focus effect */

.form-select:focus {
    outline: none;
    box-shadow: none;
    border-bottom: 1px solid #0085A1;
}

/* Dropdown arrow */

.form-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='12' viewBox='0 0 16 16' fill='%236c757d' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236c757d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 12px;
}

/* Option text inside dropdown */

.form-select option {
    color: #212529;
}

/* Spacing between form groups */

#contactForm .mb-3 {
    margin-bottom: 2rem !important;
}

/* Make textarea match input style */

#contactForm textarea.form-control {
    border-bottom: 1px solid #dee2e6;
}

/* Text under form */

#contactForm .text-muted {
    font-size: 0.85rem;
}

.Confirmation {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flash-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.flash-modal-box {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.flash-modal-box p {
    margin: 0 0 20px;
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
}

.flash-modal-button {
    background: #8aa9a5;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
}

.flash-modal-button:hover {
    background: #789792;
}
