/* Recruitment Savings Calculator Styles */

.rsc-calculator-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.rsc-step {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.rsc-step.rsc-step-active {
    display: block;
    animation: rscFadeIn 0.3s ease-in-out;
}

@keyframes rscFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.rsc-header {
    margin-bottom: 32px;
}

.rsc-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.rsc-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Progress Bar */
.rsc-progress {
    margin-top: 24px;
}

.rsc-progress-text {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.rsc-progress-bar {
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
}

.rsc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2dd4bf 0%, #14b8a6 100%);
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Content */
.rsc-content {
    margin-bottom: 32px;
}

.rsc-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.4;
}

.rsc-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.rsc-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
    color: #1a1a1a;
}

.rsc-input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.rsc-input-prefix {
    position: absolute;
    left: 20px;
    font-size: 18px;
    color: #666;
    pointer-events: none;
}

.rsc-input-currency {
    padding-left: 40px !important;
}

.rsc-input-suffix {
    position: absolute;
    right: 35px;
    font-size: 18px;
    color: #666;
    pointer-events: none;
}

.rsc-hint {
    margin: 12px 0 0 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Buttons */
.rsc-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.rsc-btn {
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rsc-btn-primary {
    background: linear-gradient(90deg, #2dd4bf 0%, #14b8a6 100%) !important;
    color: #ffffff !important;
}

.rsc-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3) !important;
}

.rsc-btn-primary:active {
    transform: translateY(0) !important;
}

.rsc-btn-secondary {
    background: #f5f5f5 !important;
    color: #666 !important;
}

.rsc-btn-secondary:hover {
    background: #e5e5e5 !important;
}

.rsc-btn-full {
    width: 100% !important;
}

.rsc-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Results Box */
.rsc-results-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 2px solid #14b8a6;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 24px;
}

.rsc-results-intro {
    font-size: 16px;
    color: #0f766e;
    margin: 0 0 16px 0;
    font-weight: 500;
}

.rsc-savings-amount {
    font-size: 56px;
    font-weight: 700;
    color: #0f766e;
    margin: 0 0 8px 0;
    line-height: 1;
}

.rsc-results-subtitle {
    font-size: 14px;
    color: #0f766e;
    margin: 0;
}

/* Breakdown */
.rsc-breakdown-toggle {
    margin-bottom: 24px;
}

.rsc-breakdown-btn {
    width: 100%;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    font-family: inherit;
}

.rsc-breakdown-btn:hover {
    background: #e5e5e5;
}

.rsc-breakdown-btn.active .rsc-chevron {
    transform: rotate(180deg);
}

.rsc-chevron {
    transition: transform 0.2s ease;
}

.rsc-breakdown {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.rsc-breakdown-item {
    background: #f9f9f9;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
}

.rsc-breakdown-highlight {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-color: #14b8a6;
}

.rsc-breakdown-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.rsc-breakdown-value {
    font-size: 24px;
    font-weight: 700;
    color: #0f766e;
}

.rsc-breakdown-percent {
    font-size: 14px;
    color: #0f766e;
    font-weight: 500;
}

/* Email Section */
.rsc-email-section {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
}

.rsc-email-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-align: center;
}

.rsc-email-subtitle {
    font-size: 15px;
    color: #666;
    margin: 0 0 24px 0;
    text-align: center;
    line-height: 1.5;
}

.rsc-email-form {
    margin-top: 24px;
}

.rsc-name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.rsc-input-half {
    width: 100%;
}

.rsc-checkbox-group {
    margin: 16px 0;
}

.rsc-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
}

.rsc-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
}

.rsc-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.rsc-trust-item {
    font-size: 13px;
    color: #0f766e;
    font-weight: 500;
}

/* Success */
.rsc-success-box {
    text-align: center;
    padding: 40px;
}

.rsc-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    color: #ffffff;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.rsc-success-message {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.rsc-success-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Loading State */
.rsc-btn.rsc-loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.rsc-btn.rsc-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: rscSpin 0.6s linear infinite;
    right: 12px;
}

@keyframes rscSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Messages */
.rsc-error {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #991b1b;
    font-size: 14px;
    display: none;
}

.rsc-error.rsc-show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .rsc-calculator-wrapper {
        margin: 20px;
    }
    
    .rsc-step {
        padding: 24px;
    }
    
    .rsc-title {
        font-size: 24px;
    }
    
    .rsc-savings-amount {
        font-size: 42px;
    }
    
    .rsc-breakdown-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rsc-actions {
        flex-direction: column-reverse;
    }
    
    .rsc-btn {
        width: 100%;
    }
    
    .rsc-trust-indicators {
        flex-direction: column;
        gap: 8px;
    }
    
    .rsc-name-fields {
        grid-template-columns: 1fr;
    }
}