/* Order Form Styles - Modern Solid Design */

.cb-custom-form-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cb-custom-form-wrapper.hideit {
    display: none;
}

.cb-form-inner {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10;
    position: relative;
    overflow-y: auto;
}

.cb-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 44, 38, 0.7); /* Dark green overlay */
}

.cb-form-title {
    color: #022C26; /* Dark Green */
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #53B147; /* Primary Green */
    padding-bottom: 12px;
}

.cb-form-section {
    margin-bottom: 24px;
}

.cb-form-section h3 {
    font-size: 16px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    background: #f8f8f8;
    padding: 8px 12px;
    border-radius: 4px;
}

.cb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cb-form-group {
    margin-bottom: 16px;
}

.cb-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.cb-form-group input[type="text"],
.cb-form-group input[type="email"],
.cb-form-group input[type="password"],
.cb-form-group select,
.cb-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.cb-form-group input:focus,
.cb-form-group select:focus,
.cb-form-group textarea:focus {
    border-color: #53B147;
    outline: none;
    box-shadow: 0 0 0 2px rgba(83, 177, 71, 0.1);
}

.cb-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.cb-radio-group label {
    font-weight: 400;
    cursor: pointer;
}

.cb-form-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.cb-btn {
    padding: 12px 28px;
    border-radius: 30px; /* Rounded buttons */
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
}

.cb-btn-submit {
    background: #53B147;
    color: #fff;
}

.cb-btn-submit:hover {
    background: #469a3b;
    transform: translateY(-2px);
}

.cb-btn-cancel {
    background: #eee;
    color: #333;
}

.cb-btn-cancel:hover {
    background: #ddd;
}

.cb-form-message {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.cb-success { color: #155724; background: #d4edda; padding: 10px; border-radius: 4px; }
.cb-error { color: #721c24; background: #f8d7da; padding: 10px; border-radius: 4px; }
.cb-loading { color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px; }

/* Trigger Button */
.order-now-trigger {
    background: #53B147;
    color: #fff;
    margin-top: 10px;
    display: inline-block;
}

.order-now-trigger:hover {
    background: #022C26;
    color: #fff;
}

@media (max-width: 600px) {
    .cb-form-grid {
        grid-template-columns: 1fr;
    }
    .cb-form-inner {
        width: 95%;
        padding: 20px;
    }
}
