.enquiry-tab {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 9998;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2d8f84, #c9942e);
    color: #fff;
    padding: 14px 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, .15);
    transition: right .3s ease;
}

.enquiry-tab i {
    font-size: 22px;
    writing-mode: horizontal-tb;
}

.enquiry-tab:hover {
    background: linear-gradient(135deg, #c9942e, #b8841e);
}

.enquiry-popup.open .enquiry-tab {
    right: 400px;
    z-index: 9999;
}

.enquiry-panel {
    position: fixed;
    top: 0;
    right: -410px;
    width: 400px;
    height: 100%;
    z-index: 10000;
    background: #fff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, .15);
    transition: right .4s cubic-bezier(.22, 1, .36, 1);
    display: flex;
    flex-direction: column;
    font-family: 'Barlow Condensed', sans-serif;
}

.enquiry-popup.open .enquiry-panel {
    right: 0;
}

.enquiry-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .35);
    display: none;
}

.enquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #2d8f84;
    color: #fff;
}

.enquiry-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enquiry-sub {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
}

.enquiry-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: .8;
}

.enquiry-close:hover {
    opacity: 1;
}

.enquiry-body {
    padding: 18px 20px 8px;
    flex: 1 1 auto;
    overflow-y: auto;
}

.enquiry-field {
    margin-bottom: 15px;
}

.enquiry-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Barlow Condensed', sans-serif;
    color: #333;
    box-sizing: border-box;
    transition: border-color .2s;
}

.enquiry-input:focus {
    outline: none;
    border-color: #2d8f84;
}

.enquiry-select {
    appearance: auto;
}

.enquiry-textarea {
    resize: vertical;
    min-height: 70px;
}

.enquiry-footer {
    padding: 12px 20px 18px;
    border-top: 1px solid #f1f1f1;
}

.enquiry-msg {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
}

.enquiry-msg.success {
    color: #28a745;
}

.enquiry-msg.error {
    color: #dc3545;
}

.enquiry-submit {
    width: 100%;
    padding: 14px;
    background: #2d8f84;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    transition: background .2s;
}

.enquiry-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #333;
}

.enquiry-consent input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

.enquiry-consent a {
    color: #014b85;
    text-decoration: underline;
}

.enquiry-submit:hover:not(:disabled) {
    background: #1d5a53ff;
}

.enquiry-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

#submitMe:disabled {
    opacity: .5;
    cursor: not-allowed;
}

#submitMe:disabled:hover {
    background: #014b85;
    opacity: .5;
}

@media (max-width: 480px) {
    .enquiry-panel {
        width: 100%;
        right: -100%;
    }

    .enquiry-popup.open .enquiry-tab {
        right: 100%;
    }

    .enquiry-tab {
        writing-mode: horizontal-tb;
        flex-direction: row;
        padding: 10px 16px;
        font-size: 12px;
        top: auto;
        bottom: 80px;
        border-radius: 8px 0 0 8px;
    }

    .enquiry-tab i {
        font-size: 16px;
        writing-mode: horizontal-tb;
    }
}
