/**
 * Social Payment Calculator Styles
 * Modern and soft design with 1024px max width
 */

.spc-calculator-wrapper {
    max-width: 1024px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.spc-calculator-container {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.spc-calculator-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.spc-calculator-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.spc-calculator-header p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
    margin: 0;
}

.spc-calculator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.spc-input-section {
    padding: 48px;
    background: #ffffff;
}

.spc-result-section {
    padding: 48px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spc-form-group {
    margin-bottom: 32px;
}

.spc-form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.spc-input-wrapper {
    position: relative;
}

.spc-form-group input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: inherit;
}

.spc-form-group input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.spc-form-group input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    padding: 0;
    cursor: pointer;
    border: none;
}

.spc-form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spc-form-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #5568d3;
}

.spc-form-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.spc-form-group input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #5568d3;
}

.spc-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #718096;
}

.spc-input-value {
    position: absolute;
    right: 16px;
    top: 14px;
    font-weight: 600;
    color: #667eea;
    pointer-events: none;
}

.spc-checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.spc-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #667eea;
}

.spc-checkbox-group label {
    font-size: 15px;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
    margin: 0;
}

.spc-calculate-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    font-family: inherit;
}

.spc-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.spc-calculate-btn:active {
    transform: translateY(0);
}

.spc-result-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.spc-result-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.spc-result-value {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.spc-result-currency {
    font-size: 24px;
    color: #718096;
    font-weight: 500;
}

.spc-result-details {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #e2e8f0;
}

.spc-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.spc-detail-label {
    color: #718096;
}

.spc-detail-value {
    font-weight: 600;
    color: #2d3748;
}

.spc-disclaimer {
    margin-top: 24px;
    padding: 16px;
    background: #fff5f5;
    border-left: 4px solid #fc8181;
    border-radius: 8px;
    font-size: 13px;
    color: #c53030;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .spc-calculator-body {
        grid-template-columns: 1fr;
    }

    .spc-calculator-header h1 {
        font-size: 24px;
    }

    .spc-input-section,
    .spc-result-section {
        padding: 32px 24px;
    }

    .spc-result-value {
        font-size: 36px;
    }

    .spc-calculator-wrapper {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .spc-calculator-header {
        padding: 30px 20px;
    }

    .spc-calculator-header h1 {
        font-size: 20px;
    }

    .spc-calculator-header p {
        font-size: 14px;
    }

    .spc-input-section,
    .spc-result-section {
        padding: 24px 20px;
    }

    .spc-form-group {
        margin-bottom: 24px;
    }

    .spc-result-card {
        padding: 24px;
    }

    .spc-result-value {
        font-size: 32px;
    }

    .spc-result-currency {
        font-size: 18px;
    }
}
