/**
 * SP Proposal Form — Standalone page form styles
 * Shortcode: [sp_proposal_form]
 */

.sp-pf-wrapper {
    max-width: 560px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.sp-pf-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #E4E4EC;
}

.sp-pf-header {
    text-align: center;
    margin-bottom: 32px;
}

.sp-pf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(115, 55, 255, 0.08);
    color: #7337FF;
    margin-bottom: 16px;
}

.sp-pf-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 8px;
    line-height: 1.3;
}

.sp-pf-desc {
    font-size: 14px;
    color: #6E6E80;
    margin: 0;
    line-height: 1.5;
}

.sp-pf-services-summary {
    background: #F7F7FA;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #3A3A4A;
    line-height: 1.5;
}

.sp-pf-services-summary strong {
    color: #7337FF;
    margin-right: 6px;
}

.sp-pf-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-pf-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3A3A4A;
    margin-bottom: 6px;
}

.sp-pf-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E4E4EC;
    border-radius: 10px;
    font-size: 14px;
    color: #1A1A2E;
    background: #FAFAFB;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.sp-pf-field input:focus {
    border-color: #7337FF;
    box-shadow: 0 0 0 3px rgba(115, 55, 255, 0.1);
    background: #FFFFFF;
}

.sp-pf-field input::placeholder {
    color: #9E9EB0;
}

.sp-pf-field input.sp-pf-error {
    border-color: #E53E3E;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.sp-pf-hint {
    display: block;
    font-size: 11.5px;
    color: #9E9EB0;
    margin-top: 4px;
}

.sp-pf-submit {
    width: 100%;
    padding: 14px;
    background: #7337FF;
    color: #FFFFFF;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    margin-top: 8px;
}

.sp-pf-submit:hover {
    background: #6029E0;
}

.sp-pf-submit:active {
    transform: scale(0.99);
}

.sp-pf-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success state */
.sp-pf-success {
    text-align: center;
    padding: 20px 0;
}

.sp-pf-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #10b981;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.sp-pf-success h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 8px;
}

.sp-pf-success p {
    font-size: 14px;
    color: #6E6E80;
    margin: 0 0 20px;
}

.sp-pf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #7337FF;
    color: #FFFFFF;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s ease;
}

.sp-pf-download-btn:hover {
    background: #6029E0;
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 600px) {
    .sp-pf-wrapper {
        margin: 20px auto;
        padding: 0 12px;
    }

    .sp-pf-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .sp-pf-title {
        font-size: 20px;
    }
}
