/* SEO Tools Checkout Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.option.selected {
    border-color: #667eea;
    background: #f0f3ff;
}

.option-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.option-desc {
    font-size: 14px;
    color: #666;
}

.option-price {
    font-size: 12px;
    color: #667eea;
    margin-top: 5px;
    font-weight: 600;
}

.notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.notice-title {
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
}

.notice-text {
    font-size: 14px;
    color: #856404;
    line-height: 1.5;
}

.total-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.total-label {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.total-amount {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
}

.pay-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.pay-button:hover {
    transform: translateY(-2px);
}

.terms {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

.terms a {
    color: #667eea;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Terms acceptance checkbox section */
.terms-acceptance-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.terms-checkbox .checkbox-label {
    flex: 1;
    line-height: 1.5;
}

.terms-checkbox .checkbox-label a {
    color: #667eea;
    text-decoration: none;
}

.terms-checkbox .checkbox-label a:hover {
    text-decoration: underline;
}

input[type="radio"] {
    display: none;
}

/* Error page styles */
.error-page {
    font-family: sans-serif;
    text-align: center;
    padding: 50px;
}

.error-page h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-page p {
    margin-bottom: 1rem;
}

.error-page a {
    color: #667eea;
    text-decoration: none;
}

.custom-service-notice {
    margin-top: var(--spacing-xl, 2rem);
    padding: var(--spacing-md, 1rem);
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

.custom-service-link {
    color: #667eea;
    text-decoration: none;
    margin-left: 4px;
}

.custom-service-link:hover {
    text-decoration: underline;
}

.back-to-home {
    margin-top: var(--spacing-lg, 1.5rem);
    padding: var(--spacing-md, 1rem);
    text-align: center;
}

.back-home-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.875rem;
}

.back-home-link:hover {
    text-decoration: underline;
}

/* Hidden element for pricing data (CSP compliant) */
#checkoutPricingData {
    display: none;
}

/* Email Input Styles */
.email-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    margin-bottom: 8px;
}

.email-input:focus {
    outline: none;
    border-color: #667eea;
}

.email-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

