/* Base styles and resets */
#ccpatollfree .ccpa-container,
#ccpatollfree .ccpa-container * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Container styles */
#ccpatollfree .ccpa-container {
    font-family: "Roboto", Helvetica, Arial, sans-serif !important;
    font-size: 14px;
    color: #545454;
}

#ccpatollfree .ccpa-container * {
    font-family: "Roboto", Helvetica, Arial, sans-serif !important;
    font-size: 14px;
    color: #545454;
}

/* Form styles */
#ccpatollfree #ccpa_form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#ccpatollfree #ccpa_form fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

/* Typography */
#ccpatollfree #ccpa_form h2 {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #545454;
    line-height: 30px;
}

#ccpatollfree ol {
    list-style-position: inside;
}
#ccpatollfree li > p {
    display: inline;
}
#ccpatollfree p {
    min-height: 14px;
}

#ccpatollfree #ccpa_form h3,
#ccpatollfree #ccpa_form legend {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #545454;
    margin: 5px 0 10px;
    line-height: 20px;
}

/* Form elements */
#ccpatollfree #ccpa_form input[type="text"],
#ccpatollfree #ccpa_form input[type="email"],
#ccpatollfree #ccpa_form input[type="tel"],
#ccpatollfree #ccpa_form input[type="url"],
#ccpatollfree #ccpa_form textarea,
#ccpatollfree #ccpa_form select {
    border: 1px solid #ccc;
    background: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font: 400 14px/16px "Roboto", Helvetica, Arial, sans-serif;
    color: #545454;
}

#ccpatollfree #ccpa_form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='%23444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>");
    background-position: right 10px center;
    background-repeat: no-repeat;
    padding-right: 30px;
}

/* Hover and focus states */
#ccpatollfree #ccpa_form input:hover,
#ccpatollfree #ccpa_form select:hover,
#ccpatollfree #ccpa_form textarea:hover {
    border-color: #aaa;
}

#ccpatollfree #ccpa_form input:focus,
#ccpatollfree #ccpa_form select:focus,
#ccpatollfree #ccpa_form textarea:focus {
    border-color: #aaa;
    outline: auto;
}

/* Button styles */
#ccpatollfree #ccpa_form button[type="submit"] {
    border: none;
    background: #4169e1;
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
}

#ccpatollfree #ccpa_form button[type="submit"]:hover {
    background: #3861da;
}

#ccpatollfree #ccpa_form button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Checkbox styles */
#ccpatollfree .ccpa-right-checkbox {
    line-height: 16px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

#ccpatollfree .ccpa-right-checkbox label {
    font: 400 14px/16px "Roboto", Helvetica, Arial, sans-serif;
    margin-left: 8px;
    display: inline-block;
}

#ccpatollfree .ccpa-right-checkbox input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Error and success messages */
#ccpatollfree #ccpa_form #ccpa_error {
    color: red;
    font-weight: bold;
    line-height: 19px;
    display: inline-block;
    margin: 10px 0;
}

#ccpatollfree #ccpa_form #ccpa_success {
    color: green;
    font-weight: bold;
    line-height: 19px;
    display: inline-block;
    margin: 10px 0;
}

/* reCAPTCHA container */
#ccpatollfree .g-recaptcha-container {
    margin-top: 20px;
}

/* Affirmation text */
#ccpatollfree .ccpa-text {
    line-height: 20px;
    margin: 0px 0 15px;
    display: block;
}

/* Loading state for submit button */
#ccpatollfree #ccpa_form button[type="submit"]:disabled {
    background: #ccc;
    cursor: not-allowed;
}
