/* CrashAdvocate – 833 Get Paid Case Intake Pro Frontend Styles */

.ca-833-gpi-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #111111;
    color: #F5F5F5;
    font-family: Arial, sans-serif;
    position: relative;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
}

.ca-833-gpi-container * {
    box-sizing: border-box;
}

.ca-833-gpi-header {
    text-align: center;
    margin-bottom: 30px;
}

.ca-833-gpi-header h2 {
    color: #FFFFFF;
    margin: 0 0 10px 0;
    font-size: 24px;
    text-transform: uppercase;
}

.ca-833-gpi-subtitle {
    color: #B5B5B5;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.ca-833-gpi-progress {
    margin-top: 15px;
}

.ca-833-gpi-progress-text {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    color: #B5B5B5;
    text-align: right;
}

.ca-833-gpi-progress-bar {
    background-color: #353535;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.ca-833-gpi-progress-fill {
    background-color: #8E041E;
    height: 100%;
    transition: width 0.3s ease;
}

.ca-833-gpi-body {
    background-color: #1B1B1B;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ca-833-gpi-body h3 {
    color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 10px;
}

.ca-833-gpi-desc, .ca-833-gpi-support-text {
    color: #B5B5B5;
    font-size: 14px;
    margin-bottom: 15px;
}

.ca-833-gpi-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ca-833-gpi-radio-row {
    display: block;
    background-color: #242424;
    border: 1px solid #3A3A3A;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ca-833-gpi-radio-row:hover {
    border-color: #8E041E;
}

.ca-833-gpi-radio-row input[type="radio"] {
    display: none;
}

.ca-833-gpi-radio-row input[type="radio"]:checked + .ca-833-gpi-radio-text {
    color: #FFFFFF;
    font-weight: bold;
}

.ca-833-gpi-radio-row:has(input[type="radio"]:checked) {
    border-color: #8E041E;
    background-color: rgba(142, 4, 30, 0.1);
}

.ca-833-gpi-field {
    margin-bottom: 20px;
}

.ca-833-gpi-field label {
    display: block;
    margin-bottom: 8px;
    color: #F5F5F5;
    font-weight: bold;
}

.ca-833-gpi-field input[type="text"],
.ca-833-gpi-field input[type="tel"],
.ca-833-gpi-field input[type="email"],
.ca-833-gpi-field textarea {
    width: 100%;
    padding: 12px;
    background-color: #242424;
    border: 1px solid #3A3A3A;
    color: #F5F5F5;
    border-radius: 4px;
    font-size: 16px;
}

.ca-833-gpi-field input:focus,
.ca-833-gpi-field textarea:focus {
    outline: none;
    border-color: #8E041E;
}

.ca-833-gpi-info-banner {
    background-color: rgba(142, 4, 30, 0.1);
    border-left: 4px solid #8E041E;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.ca-833-gpi-consent-field {
    margin-top: 20px;
}

.ca-833-gpi-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.ca-833-gpi-consent-text {
    font-size: 12px;
    color: #B5B5B5;
    line-height: 1.4;
}

.ca-833-gpi-footer {
    text-align: center;
}

.ca-833-gpi-btn {
    background-color: #8E041E;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.ca-833-gpi-btn:hover {
    background-color: #700318;
}

.ca-833-gpi-btn-secondary {
    background-color: #3A3A3A;
    color: #F5F5F5;
}

.ca-833-gpi-btn-secondary:hover {
    background-color: #4A4A4A;
}

.ca-833-gpi-button-group {
    display: flex;
    gap: 15px;
}

.ca-833-gpi-disclaimer {
    margin-top: 15px;
    font-size: 12px;
    color: #B5B5B5;
}

.ca-833-gpi-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.ca-833-gpi-alert-error {
    background-color: rgba(142, 4, 30, 0.1);
    border: 1px solid #8E041E;
    color: #ff6b6b;
}

.ca-833-gpi-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.8);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.ca-833-gpi-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #3A3A3A;
    border-top: 4px solid #8E041E;
    border-radius: 50%;
    animation: ca-833-gpi-spin 1s linear infinite;
}

@keyframes ca-833-gpi-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .ca-833-gpi-button-group {
        flex-direction: column;
    }
}
