/* PayPal Fee Calculator Premium Styles - Scoped to .tool-container */

.tool-container {
    width: 100%;
}

/* Premium Card Refinements */
.tool-container .premium-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tool-container .premium-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.tool-container .card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.tool-container .card-title svg {
    color: #003087;
    /* PayPal Blue */
}

/* Commission Info Highlight */
.tool-container .commission-info {
    background: #f8fafc;
    border: 2px dashed #009cde;
    padding: 1.75rem;
    border-radius: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-container .commission-info h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tool-container .commission-rate {
    font-size: 2rem;
    font-weight: 900;
    color: #003087;
    margin-bottom: 0.5rem;
}

.tool-container .commission-rate span {
    color: #009cde;
}

.tool-container .commission-note {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Currency Toggle */
.tool-container .currency-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.tool-container .currency-btn {
    padding: 10px 24px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 3rem;
    font-weight: 800;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-container .currency-btn.active {
    background: #003087;
    border-color: #003087;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.2);
}

/* Calculator Grid */
.tool-container .calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 850px) {
    .tool-container .calculator-grid {
        grid-template-columns: 1fr;
    }
}

.tool-container .calculator-section {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
}

/* Input Styling */
.tool-container .input-group {
    margin-bottom: 1.5rem;
}

.tool-container .input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #334155;
    margin-bottom: 0.75rem;
}

.tool-container .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.tool-container .input-wrapper input {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 4.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
}

.tool-container .input-wrapper input:focus {
    outline: none;
    border-color: #009cde;
    box-shadow: 0 0 0 4px rgba(0, 156, 222, 0.1);
}

.tool-container .currency-tag {
    position: absolute;
    right: 1.25rem;
    font-weight: 900;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Results Display */
.tool-container .result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #eef2f6;
}

.tool-container .result-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
}

.tool-container .result-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: #003087;
}

.tool-container .result-value.commission {
    color: #ef4444;
}

/* Action Buttons */
.tool-container .button-group {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.tool-container .btn-reset {
    height: 52px;
    padding: 0 2rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 0.85rem;
    color: #64748b;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-container .btn-reset:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

/* Features Grid - Ultra Minimalist Style */
.tool-container .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tool-container .feature-card {
    background: #ffffff;
    padding: 2.25rem;
    border-radius: 1rem;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.tool-container .feature-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.tool-container .feature-icon {
    width: auto;
    height: auto;
    background: transparent !important;
    color: #1e293b !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}

.tool-container .feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px;
}

.tool-container .feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.85rem;
}

.tool-container .feature-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-container .animate-fade {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 640px) {
    .tool-container .premium-card {
        padding: 1.5rem;
    }

    .tool-container .calculator-grid {
        gap: 1.5rem;
    }
}