/*
 * SHAKES PRO LEAD FORM STYLES - REFRESHED
 */

/* Main container for the form */
.shakes-form-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    max-width: 500px; /* Optional: Constrain the width for better readability */
    margin: 0 auto;   /* Optional: Center the form on the page */
}

/* Header section with title and subtitle */
.shakes-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.shakes-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c; /* A darker, more modern text color */
}

.shakes-form-subtitle {
    color: #718096;
    font-size: 16px;
}

/* General styles for each form field row */
.shakes-form-row {
    margin-bottom: 20px;
}

/* Label styles */
.shakes-form-label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
}

/* Input and Select field styles */
.shakes-lead-form input[type="text"],
.shakes-lead-form input[type="tel"],
.shakes-lead-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    background-color: #fdfdff;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 16px;
}

/* Focus styles for input fields for a modern feel */
.shakes-lead-form input:focus,
.shakes-lead-form select:focus {
    outline: none;
    border-color: #4A90E2; /* A modern blue for focus */
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* --- WordPress Global Button Styles --- */
.shakes-form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--wp--shape--border-radius, 8px); /* Uses global radius, falls back to 8px */
    border: 1px solid transparent;
    transition: background-color 0.3s ease-in-out, opacity 0.3s;

    /* These variables will pull from your WordPress Global Styles */
    background-color: var(--wp--preset--color--primary, #4A90E2); /* Uses primary color, falls back to a default blue */
    color: var(--wp--preset--color--white, #ffffff); /* Uses white, falls back to #ffffff */
}

.shakes-form-button:hover {
    opacity: 0.9; /* A subtle hover effect */
}


/* Footer text (T&C) */
.shakes-form-footer {
    text-align: center;
    font-size: 13px;
    color: #a0aec0; /* A lighter, less prominent color */
    margin-top: 20px;
}

/* Success Message Styles */
.shakes-success-message {
    padding: 20px;
    background-color: #f0fff4;
    border-left: 5px solid #38a169;
    color: #2f855a;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Error Message Styles */
.shakes-error-message {
    padding: 15px;
    background-color: #fff5f5;
    border-left: 5px solid #e53e3e;
    color: #c53030;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
}