/* Roldan Tools v1.2 - Modern UI Update */
.rt-container {
    --rt-primary: #2563eb;
    --rt-primary-dark: #1d4ed8;
    --rt-primary-light: #eff6ff;
    --rt-text-main: #0f172a;
    --rt-text-muted: #64748b;
    --rt-bg-light: #f8fafc;
    --rt-border: #e2e8f0;
    --rt-radius: 20px;
    --rt-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --rt-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    color: var(--rt-text-main);
    line-height: 1.5;
}

.rt-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 950px) {
    .rt-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.rt-card-input {
    background: #fff;
    border-radius: var(--rt-radius);
    padding: 3rem;
    box-shadow: var(--rt-shadow);
    border: 1px solid var(--rt-border);
}

.rt-card-result {
    background: var(--rt-primary);
    border-radius: var(--rt-radius);
    padding: 3rem;
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 2rem;
    text-align: left;
}

.rt-result-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rt-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rt-result-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-item-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.rt-item-value {
    font-weight: 700;
    font-size: 1.125rem;
}

.rt-result-summary {
    background: rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.rt-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.rt-summary-row:last-child {
    margin-bottom: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rt-basis-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.rt-basis-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.rt-basis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.rt-analysis-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.rt-disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.rt-cta-sub {
    font-size: 0.875rem;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.rt-heading {
    margin: 0 0 0.75rem;
    font-size: 2.25rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--rt-text-main);
    line-height: 1.1;
}

.rt-subtext {
    margin: 0 0 2.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--rt-text-muted);
}

.rt-field {
    margin-bottom: 1.75rem;
}

.rt-field-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--rt-text-main);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.rt-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--rt-bg-light);
    color: var(--rt-text-muted);
    border: 1px solid var(--rt-border);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    cursor: help;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.rt-info-icon:hover {
    background: var(--rt-primary);
    border-color: var(--rt-primary);
    color: #fff;
}

.rt-tooltip {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    width: 220px;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.rt-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.rt-info-icon:hover .rt-tooltip,
.rt-info-icon.rt-active .rt-tooltip {
    visibility: visible;
    opacity: 1;
    bottom: 130%;
}

.rt-number-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--rt-border);
    background: #fff;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--rt-text-main);
}

.rt-number-input:focus {
    outline: none;
    border-color: var(--rt-primary);
    box-shadow: 0 0 0 4px var(--rt-primary-light);
}

.rt-number-input:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #cbd5e1;
}

.rt-range-input {
    width: 100%;
    margin: 1.25rem 0;
    accent-color: var(--rt-primary);
    cursor: pointer;
}

.rt-range-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rt-range-value {
    display: inline-block;
    font-weight: 700;
    color: var(--rt-primary);
    font-size: 0.875rem;
    background: var(--rt-primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 0.25rem;
}

/* Result Section */
.rt-result-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.rt-result-amount {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.rt-yearly-text {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.rt-hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 2rem 0;
}

/* Form Section */
.rt-cta {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.rt-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.rt-form-input {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1rem;
}

.rt-form-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.rt-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.rt-submit {
    margin-top: 1rem;
    padding: 1.25rem;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: var(--rt-primary);
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.rt-submit:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.rt-success {
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
}

.rt-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: var(--rt-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--rt-bg-light);
}

.rt-section-title:first-child {
    margin-top: 0;
}

.rt-result-summary p {
    margin: 0.5rem 0;
}

/* Honeypot Anti-Spam */
.rt-hp-field {
    display: none !important;
    visibility: hidden !important;
}
