.customer-referral-form {
    max-width: 500px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.customer-referral-form p {
    margin-bottom: 15px;
}

.customer-referral-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #23282d;
}

.customer-referral-form input[type="text"],
.customer-referral-form input[type="email"],
.customer-referral-form input[type="tel"],
.customer-referral-form textarea,
.customer-referral-form input[type="submit"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.customer-referral-form input[type="text"],
.customer-referral-form input[type="email"],
.customer-referral-form input[type="tel"],
.customer-referral-form textarea {
    padding: 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.customer-referral-form input[type="submit"] {
    margin-top: 10px;
    padding: 10px 16px;
    font-size: 15px;
    border: none;
    border-radius: 4px;
}

/* Notice styles */
.customer-referral-form .notice {
    padding: 12px 15px;
    margin: 15px 0;
    border-left: 4px solid;
    border-radius: 3px;
}

.customer-referral-form .notice-success {
    background: #f0fdf4;
    border-left-color: #00a32a;
    color: #0f5132;
}

.customer-referral-form .notice-error {
    background: #fef2f2;
    border-left-color: #d63638;
    color: #842029;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .customer-referral-form {
        padding: 15px;
        border-radius: 0;
    }

    .customer-referral-form label {
        font-size: 14px;
    }

    .customer-referral-form input[type="submit"] {
        font-size: 16px;
        padding: 12px;
    }
}

