/* ==========================
   Modern General Enquiry Form
   ========================== */

.osm-ge-wrapper {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    border: 1px solid rgba(0,0,0,0.05);
}

.osm-ge-wrapper h2 {
    margin-bottom: 20px;
    font-size: 26px;
    text-align: center;
    font-weight: 700;
    color: #333;
}

/* Success/Error Alerts */
.osm-ge-success,
.osm-ge-error {
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 16px;
    animation: fadeIn .4s ease;
}

.osm-ge-success {
    background: #e6ffed;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.osm-ge-error {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Field Group */
.osm-ge-form .form-field {
    position: relative;
    margin-bottom: 26px;
}

/* Inputs & Textareas */
.osm-ge-form input,
.osm-ge-form textarea {
    width: 100%;
    padding: 18px 14px 10px;
    font-size: 16px;
    background: #fafafa;
    border: 1px solid #bbb;
    border-radius: 8px;
    transition: all .25s ease;
    outline: none;
}

.osm-ge-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Focus */
.osm-ge-form input:focus,
.osm-ge-form textarea:focus {
    background: #fff;
    border-color: #0066cc;
    box-shadow: 0 0 8px rgba(0,102,204,0.25);
}

/* Floating Labels */
.osm-ge-form label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: #777;
    font-size: 15px;
    background: transparent;
    transition: .2s ease;
    pointer-events: none;
    padding: 0 4px;
}

.osm-ge-form input:focus + label,
.osm-ge-form textarea:focus + label,
.osm-ge-form input:not(:placeholder-shown) + label,
.osm-ge-form textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 12px;
    font-size: 13px;
    background: #fff;
    color: #0066cc;
}

/* Button */
.osm-ge-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    background: linear-gradient(135deg, #0077c8, #005fa3);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.osm-ge-submit-btn:hover {
    background: linear-gradient(135deg, #0090ff, #005a9e);
    transform: translateY(-2px);
}

/* reCAPTCHA alignment */
.captcha-wrapper {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    .osm-ge-wrapper {
        padding: 22px;
    }
    .osm-ge-submit-btn {
        font-size: 16px;
    }
}
