/* PayPal Fee Calculator 2025 - WordPress Plugin Styles */

.pfc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

.pfc-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.mobl,.mobl:hover,.mobl:focus{
	    background-color: #0070e0 !important;
        color: #fff !important;
    }
/* Header */
.pfc-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pfc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.pfc-icon svg {
    color: white;
}

.pfc-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.pfc-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
}

/* Info Banner */
.pfc-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.pfc-info-banner svg {
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
}

.pfc-info-banner div {
    font-size: 0.875rem;
    color: #1e3a8a;
}

/* Grid Layout */
.pfc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.ppfc-legacy {
    position: relative;
    background-color: #fffbeb;
    border-color: #fde68a;
}

.ppfc-legacy:hover {
    border-color: #fbbf24 !important;
    background-color: #265E9A !important;
}

.ppfc-legacy.active {
    background-color: #fef3c7 !important;
    border-color: #f59e0b !important;
}

.ppfc-legacy-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #f59e0b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.ppfc-legacy-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.ppfc-legacy-warning svg {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.ppfc-legacy-warning div {
    font-size: 14px;
    color: #78350f;
    line-height: 1.5;
}

/* Transaction types scrollbar */
.pfc-transaction-types {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.pfc-transaction-types::-webkit-scrollbar {
    width: 6px;
}

.pfc-transaction-types::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.pfc-transaction-types::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.pfc-transaction-types::-webkit-scrollbar-thumb:hover {
    background: #265E9A;
}
@media (min-width: 1024px) {
    .pfc-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Cards */
.pfc-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.pfc-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
}

.pfc-section-title svg {
    color: #2563eb;
}

/* Form Groups */
.pfc-form-group {
    margin-bottom: 1.5rem;
}

.pfc-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.pfc-label svg {
    width: 16px;
    height: 16px;
}

/* Mode Toggle */
.pfc-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pfc-mode-btn {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.pfc-mode-btn:hover {
    border-color: #d1d5db;
}

.pfc-mode-btn.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.pfc-mode-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.pfc-mode-desc {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Input Wrapper */
.pfc-input-wrapper {
    position: relative;
}

.pfc-input {
    width: 100%;
    padding: 0.75rem 4rem 0.75rem 1rem;
    font-size: 1.125rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
}

.pfc-input:focus {
    border-color: #2563eb;
}

.pfc-currency-badge {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #6b7280;
}

/* Select */
.pfc-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.pfc-select:focus {
    border-color: #2563eb;
}

/* Transaction Type Buttons */
.pfc-transaction-types {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pfc-transaction-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.pfc-transaction-btn:hover {
    border-color: #d1d5db;
}

.pfc-transaction-btn.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.pfc-transaction-btn svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.pfc-transaction-btn.active svg {
    color: #2563eb;
}

.pfc-transaction-btn > div {
    flex: 1;
}

.pfc-trans-title {
    font-weight: 600;
    color: #1a1a1a;
}

.pfc-trans-desc {
    font-size: 0.75rem;
    color: #6b7280;
}

.pfc-trans-rate {
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
}

/* Action Buttons */
.pfc-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.pfc-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pfc-btn svg {
    width: 16px;
    height: 16px;
}

.pfc-btn-purple {
    background: #7c3aed;
    color: white;
}

.pfc-btn-purple:hover {
    background: #6d28d9;
}

.pfc-btn-green {
    background: #16a34a;
    color: white;
}

.pfc-btn-green:hover {
    background: #15803d;
}

.pfc-btn-gray {
    background: #4b5563;
    color: white;
}

.pfc-btn-gray:hover {
    background: #374151;
}

/* Empty State */
.pfc-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.pfc-empty-state svg {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.pfc-empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.pfc-empty-state p {
    color: #6b7280;
    margin: 0;
}

/* Results */
.pfc-results-main {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.pfc-results-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

.pfc-result-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.pfc-result-box:last-child {
    margin-bottom: 0;
}

.pfc-result-net {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pfc-result-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.pfc-result-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.pfc-result-fee .pfc-result-value {
    color: #fca5a5;
}

.pfc-result-net .pfc-result-value {
    color: #86efac;
}

.pfc-result-breakdown {
    font-size: 0.75rem;
    opacity: 0.75;
    margin-top: 0.25rem;
}

.pfc-result-rate {
    text-align: center;
    border: none;
}

.pfc-result-rate .pfc-result-label {
    font-size: 0.75rem;
}

.pfc-result-rate .pfc-result-value {
    font-size: 1.25rem;
}

/* Breakdown */
.pfc-breakdown {
    background: white;
    margin-bottom: 1.5rem;
}

.pfc-breakdown-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.pfc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.pfc-breakdown-row span {
    color: #6b7280;
}

.pfc-breakdown-row strong {
    color: #1a1a1a;
    font-weight: 600;
}

.pfc-breakdown-total {
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
    border-bottom: none;
    margin-top: 0.5rem;
}

.pfc-breakdown-total span {
    font-weight: 700;
    color: #1a1a1a;
}

.pfc-breakdown-total strong {
    color: #2563eb;
    font-weight: 700;
}

/* Tips */
.pfc-tips {
    background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 1rem;
}

.pfc-tips-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
}

.pfc-tips-title svg {
    color: #16a34a;
}

.pfc-tips ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.pfc-tips li {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.pfc-tips li:last-child {
    margin-bottom: 0;
}

.pfc-tips li::before {
    content: "•";
    color: #16a34a;
    font-weight: bold;
}

/* Footer Info */
.pfc-footer-info {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.pfc-footer-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.pfc-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .pfc-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
	.pfc-container {
    padding: 0 !important;
}
}

.pfc-footer-grid div {
    font-size: 0.875rem;
    color: #374151;
}

.pfc-footer-note {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Modal */
.pfc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9999;
}

.pfc-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
}

.pfc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.pfc-modal-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.pfc-modal-header svg {
    color: #7c3aed;
}

.pfc-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
}

.pfc-modal-close:hover {
    background: #e5e7eb;
    color: #1a1a1a;
}

.pfc-modal-body {
    padding: 1.5rem;
}

/* Comparison Cards */
.pfc-comparison-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.pfc-comparison-card:hover {
    border-color: #7c3aed;
}

.pfc-comparison-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pfc-comparison-header svg {
    color: #7c3aed;
}

.pfc-comparison-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.pfc-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .pfc-comparison-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 500px) {
	.pfc-container {
    padding: 0 !important;
}
}
.pfc-comparison-item {
    text-align: left;
}

.pfc-comparison-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.pfc-comparison-value {
    font-weight: 700;
    color: #1a1a1a;
}

.pfc-comparison-value.fee {
    color: #dc2626;
}

.pfc-comparison-value.net {
    color: #16a34a;
}

.pfc-comparison-value.rate {
    color: #2563eb;
}
@media only screen and (max-width: 600px) {	
	.pfc-container {
    padding: 0 !important;
}
	.mobl,.mobl:hover,.mobl:focus{
	    background-color: #0070e0 !important;
        color: #fff !important;
    }
	.mobl svg{
        color: #fff !important;
    }
}

@media (max-width: 768px) {
    .pfc-title {
        font-size: 1.875rem;
    }

    .pfc-subtitle {
        font-size: 1rem;
    }

    .pfc-actions {
        flex-direction: column;
    }

    .pfc-btn {
        width: 100%;
    }

    .pfc-result-value {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .pfc-actions,
    .pfc-modal {
        display: none !important;
    }
}
.pfc-select optgroup {
    font-weight: 700;
    font-size: 0.875rem;
    padding: 8px 0;
}

.pfc-select option {
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Transaction Note */
.ppfc-transaction-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    font-size: 0.813rem;
    color: #1e40af;
}

.ppfc-transaction-note svg {
    flex-shrink: 0;
    color: #2563eb;
}

.ppfc-transaction-note.legacy {
    background: #fffbeb;
    border-color: #fde68a;
    color: #78350f;
}

.ppfc-transaction-note.legacy svg {
    color: #f59e0b;
}

/* Better mobile select styling */
@media (max-width: 768px) {
    .pfc-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
}
* Enhanced Dropdown Styling for Mobile */
.pfc-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
    font-weight: 500;
}

/* Dropdown option styling */
.pfc-select option {
    padding: 12px 16px;
    font-size: 0.95rem;
    background: white;
    color: #1a1a1a;
    font-weight: 400;
}

.pfc-select option:checked {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* OptGroup Headers - Enhanced */
.pfc-select optgroup {
    font-weight: 700;
    font-size: 0.813rem;
    color: #6b7280;
    background: #f9fafb;
    padding: 10px 0;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    .pfc-select {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 14px 16px;
        min-height: 52px;
        border-width: 2px;
        background-color: white;
    }
    
    .pfc-select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
    
    /* Enhanced option styling for mobile */
    .pfc-select option {
        padding: 16px 20px;
        font-size: 16px;
        line-height: 1.5;
        min-height: 48px;
    }
    
    .pfc-select optgroup {
        font-size: 14px;
        padding: 12px 20px;
        background: #f3f4f6;
        font-weight: 700;
    }
}

/* Transaction Note - Enhanced */
.ppfc-transaction-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #1e40af;
    line-height: 1.5;
}

.ppfc-transaction-note svg {
    flex-shrink: 0;
    color: #2563eb;
    margin-top: 2px;
}

/* Legacy note variant */
.ppfc-transaction-note.legacy {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    border-left-color: #f59e0b;
    color: #78350f;
}

.ppfc-transaction-note.legacy svg {
    color: #f59e0b;
}

/* QR Code note variant */
.ppfc-transaction-note.qr {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #a7f3d0;
    border-left-color: #10b981;
    color: #065f46;
}

.ppfc-transaction-note.qr svg {
    color: #10b981;
}

/* Personal note variant */
.ppfc-transaction-note.personal {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
    border-left-color: #16a34a;
    color: #14532d;
}

.ppfc-transaction-note.personal svg {
    color: #16a34a;
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .pfc-select {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
/* Custom Dropdown Styles */
.ppfc-custom-select-wrapper {
    position: relative;
}

.ppfc-custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.ppfc-select-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 52px;
}

.ppfc-select-trigger:hover {
    border-color: #d1d5db;
}

.ppfc-custom-select.active .ppfc-select-trigger {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ppfc-select-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ppfc-select-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
}

.ppfc-select-arrow {
    flex-shrink: 0;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.ppfc-custom-select.active .ppfc-select-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Options Container */
.ppfc-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.ppfc-custom-select.active .ppfc-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Option Groups */
.ppfc-option-group {
    padding: 8px 0;
}

.ppfc-option-group + .ppfc-option-group {
    border-top: 1px solid #e5e7eb;
}

.ppfc-option-group-label {
    padding: 12px 16px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f9fafb;
}

/* Options */
.ppfc-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ppfc-option:hover {
    background: #f3f4f6;
}

.ppfc-option-active {
    background: #eff6ff;
}

.ppfc-option-active:hover {
    background: #dbeafe;
}

.ppfc-option-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.ppfc-option-content {
    flex: 1;
}

.ppfc-option-title {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.ppfc-option-rate {
    font-size: 13px;
    color: #6b7280;
}

.ppfc-option-check {
    flex-shrink: 0;
    color: #2563eb;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.ppfc-option-active .ppfc-option-check {
    opacity: 1;
}

/* Legacy Options */
.ppfc-option-legacy {
    background: #fffbeb;
}

.ppfc-option-legacy:hover {
    background: #fef3c7;
}

.ppfc-option-legacy.ppfc-option-active {
    background: #fde68a;
}

.ppfc-option-legacy .ppfc-option-rate {
    color: #92400e;
}

/* Scrollbar */
.ppfc-select-options::-webkit-scrollbar {
    width: 6px;
}

.ppfc-select-options::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.ppfc-select-options::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.ppfc-select-options::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .ppfc-select-options {
        max-height: 60vh;
    }
    
    .ppfc-option {
        padding: 16px;
        min-height: 64px;
    }
    
    .ppfc-option-title {
        font-size: 16px;
    }
    
    .ppfc-option-rate {
        font-size: 14px;
    }
}
/* Section Header with Currency Switcher */
.ppfc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.pfc-section-title {
    margin: 0;
}

/* Currency Switcher */
.ppfc-currency-switcher {
    position: relative;
}

.ppfc-currency-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 600;
}

.ppfc-currency-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.ppfc-currency-flag {
    font-size: 20px;
}

.ppfc-currency-code {
    color: #1a1a1a;
    min-width: 35px;
}

.ppfc-currency-arrow {
    color: #6b7280;
    transition: transform 0.2s ease;
}

.ppfc-currency-switcher.active .ppfc-currency-arrow {
    transform: rotate(180deg);
}

/* Currency Dropdown */
.ppfc-currency-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.ppfc-currency-switcher.active .ppfc-currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Currency Search */
.ppfc-currency-search {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.ppfc-currency-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

.ppfc-currency-search-input:focus {
    border-color: #2563eb;
}

/* Currency List */
.ppfc-currency-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
}

.ppfc-currency-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ppfc-currency-item:hover {
    background: #f3f4f6;
}

.ppfc-currency-item-flag {
    font-size: 20px;
    flex-shrink: 0;
}

.ppfc-currency-item-name {
    flex: 1;
    font-size: 14px;
    color: #1a1a1a;
}

.ppfc-currency-item-check {
    color: #2563eb;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.ppfc-currency-active {
    background: #eff6ff;
}

.ppfc-currency-active .ppfc-currency-item-check {
    opacity: 1;
}

/* Scrollbar */
.ppfc-currency-list::-webkit-scrollbar {
    width: 6px;
}

.ppfc-currency-list::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.ppfc-currency-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}


/* Mobile Responsive */
@media (max-width: 768px) {
        .pfc-input-section .ppfc-section-header {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .ppfc-currency-switcher {
        align-self: flex-end;
    }
    
    .ppfc-currency-dropdown {
        right: 0;
        width: 100vw;
        max-width: 320px;
    }
    .pfc-input-section h2.pfc-section-title {
    padding-top: 10px;
}
.pfc-card {
    padding: 0.7rem;
}
}
/* Pulse Animation for Highlighting */
@keyframes ppfc-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.ppfc-pulse {
    animation: ppfc-pulse 1s ease-out;
}

/* Smooth transitions for scrolled elements */
.ppfc-custom-select,
.ppfc-results-main {
    transition: box-shadow 0.3s ease;
}

/* Highlight effect when scrolled to */
.ppfc-custom-select.ppfc-pulse {
    border-color: #2563eb;
}

.ppfc-results-main.ppfc-pulse {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Smooth scroll behavior for entire page */
html {
    scroll-behavior: smooth;
}

/* Focus states for better UX */
.ppfc-input:focus,
.ppfc-custom-select.active .ppfc-select-trigger {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Mobile scroll optimization */
@media (max-width: 768px) {
    .ppfc-pulse {
        animation: ppfc-pulse 0.8s ease-out;
    }
}
/* Progress Bar */
.ppfc-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ppfc-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ppfc-progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.ppfc-step-active .ppfc-progress-circle {
    background: #2563eb;
    color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.ppfc-step-completed .ppfc-progress-circle {
    background: #10b981;
    color: white;
}

.ppfc-step-completed .ppfc-progress-circle::before {
    content: "✓";
}

.ppfc-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.ppfc-step-active .ppfc-progress-label {
    color: #2563eb;
}

.ppfc-step-completed .ppfc-progress-label {
    color: #10b981;
}

.ppfc-progress-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 8px;
    margin-bottom: 30px;
}

.ppfc-progress-line.active {
    background: #2563eb;
}

@media (max-width: 640px) {
    .ppfc-progress-bar {
        padding: 1rem;
    }
    
    .ppfc-progress-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .ppfc-progress-line {
        width: 40px;
    }
    
    .ppfc-progress-label {
        font-size: 11px;
    }
}