/* ================================ */
/* BASE STYLES & LAYOUT */
/* ================================ */

/* Global body and html styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Main app body styling */
.app-body {
    background: #f1f3f4;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Main content container - REMOVE ALL BACKGROUND */
.main-content {
    padding: 0;
    background: none !important;
    min-height: auto !important;
}

/* Smooth animations */
* {
    transition: all 0.3s ease;
}

/* ================================ */
/* HEADER & AUTH SECTION */
/* ================================ */

/* Header and logo styling */
.main-content .text-center img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.desktop-sidebar-padding {
    padding-left: 150px;
}
/* Auth section styling */
.auth-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.auth-btn {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.12);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    font-weight: 500;
}

.auth-btn:hover {
    background: rgba(72, 187, 120, 0.1);
    border-color: rgba(72, 187, 120, 0.3);
}

.auth-btn-register {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    backdrop-filter: blur(5px);
    border-radius: 20px;
    font-weight: 500;
}

.auth-btn-register:hover {
    background: linear-gradient(45deg, #45a049, #3d8b40);
}

/* ================================ */
/* GLASSMORPHISM CARDS */
/* ================================ */

/* Base card styling */
.card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Main form card */
.main-form-card {
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Universal card styling for all sections */
.cost-of-living-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .cost-of-living-card {
        padding: 1.5rem;
    }
}

/* ================================ */
/* TREND BANNER */
/* ================================ */

.trend-banner {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(72, 187, 120, 0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.trend-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(72, 187, 120, 0.15);
}

.banner-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.trend-text {
    font-weight: 500;
    color: #48bb78;
    font-size: 1rem;
    min-width: 200px;
    text-align: left;
}

.trend-text:empty::after {
    content: "Loading...";
    color: #6c757d;
    font-style: italic;
}

/* ================================ */
/* FORM ELEMENTS */
/* ================================ */

/* Form headings */
.form-heading {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2rem;
}

.form-subheading {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Input groups */
.custom-input-group {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: white;
}

/* Input group icons */
.input-group-text.green-gradient {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    border: none;
    font-size: 1.2rem;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-text.green-gradient-alt {
    background: linear-gradient(45deg, #38a169, #48bb78);
    color: white;
    border: none;
    font-size: 1.2rem;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-text.salary-icon {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Custom form controls */
.custom-form-control {
    border: none;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 0 !important;
}

.custom-form-control.right-rounded {
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.custom-form-control.salary-input {
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border-top-right-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Form focus effects */
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.25) !important;
    border-color: #48bb78 !important;
}

/* Invalid feedback */
.invalid-feedback {
    font-weight: 500;
}

/* ================================ */
/* RADIO TOGGLE BUTTONS */
/* ================================ */

.radio-toggle-group {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

label[data-radio-toggle-target="button"] {
    color: #6c757d !important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

label[data-radio-toggle-target="button"].active {
    background: white !important;
    color: #48bb78 !important;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3) !important;
}

label[data-radio-toggle-target="button"]:hover {
    background: rgba(72, 187, 120, 0.1) !important;
    color: #48bb78 !important;
}

/* ================================ */
/* BUTTONS */
/* ================================ */

.submit-btn {
    background: linear-gradient(45deg, #48bb78 0%, #38a169 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.6) !important;
}

/* ================================ */
/* SECTION HEADERS */
/* ================================ */

.cost-header {
    border-bottom: 1px solid rgba(72, 187, 120, 0.2);
    padding-bottom: 1rem;
}

.cost-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.cost-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

/* ================================ */
/* CHARTS GRID */
/* ================================ */

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.chart-item {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(72, 187, 120, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.chart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #48bb78, #38a169);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-item:hover::before {
    opacity: 1;
}

.chart-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(72, 187, 120, 0.15);
}

.chart-icon {
    font-size: 1.5rem;
}

.chart-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 1rem;
}

.chart-container canvas {
    max-height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ================================ */
/* NEWS SECTION */
/* ================================ */

.news-card {
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.news-heading {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.news-carousel-btn {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.2);
    border-radius: 10px;
    width: 40px;
    height: 40px;
}

.news-item-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-item-title {
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

.news-item-text {
    color: #6c757d;
    line-height: 1.6;
}

.news-item-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
    text-decoration: none;
}

/* ================================ */
/* FOOTER */
/* ================================ */

.app-footer {
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.footer-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #48bb78;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: #38a169;
    text-decoration: underline;
}

/* ================================ */
/* RESULTS SECTION STYLES */
/* ================================ */

.results-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.results-header {
    border-bottom: 1px solid rgba(72, 187, 120, 0.2);
    padding-bottom: 1rem;
}

.results-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.results-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.comparison-highlight {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(56, 161, 105, 0.05));
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.comparison-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.salary-amount {
    font-weight: 700;
    color: #48bb78;
    font-size: 1.2rem;
}

.salary-amount.equivalent {
    color: #38a169;
}

.salary-amount.net {
    color: #2d7a3d;
}

.city-name {
    font-weight: 600;
    color: #2c3e50;
}

.comparison-connector {
    color: #6c757d;
    margin: 0 0.5rem;
}

.salary-type {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.tax-adjustment {
    background: rgba(76, 175, 80, 0.05);
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.tax-info {
    font-size: 1rem;
    line-height: 1.6;
}

.tax-label {
    color: #2c3e50;
    font-weight: 500;
}

.results-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.breakdown-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.15);
}

.breakdown-item.tax-item {
    background: rgba(76, 175, 80, 0.05);
}

.breakdown-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.breakdown-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.breakdown-text {
    flex: 1;
}

.breakdown-label {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.breakdown-detail {
    color: #495057;
    line-height: 1.5;
}

.tax-percentage {
    font-weight: 700;
    color: #4CAF50;
}

.disclaimer-item {
    background: rgba(255, 193, 7, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.disclaimer-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.disclaimer-label {
    font-weight: 700;
    color: #856404;
    display: block;
    margin-bottom: 0.25rem;
}

.disclaimer-text {
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.4;
}

.no-results-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.no-results-text {
    color: #6c757d;
    font-size: 1rem;
}

/* ================================ */
/* TAX BRACKETS SECTION */
/* ================================ */

.tax-brackets-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-bottom: 2rem;
}

.tax-header {
    border-bottom: 1px solid rgba(72, 187, 120, 0.2);
    padding-bottom: 1rem;
}

.tax-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.tax-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.tax-table-container {
    background: rgba(248, 249, 250, 0.5);
    border-radius: 15px;
    padding: 1rem;
    overflow: hidden;
}

.tax-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.tax-table-header {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.tax-table-header th {
    color: white;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border: none;
    font-size: 0.95rem;
}

.tax-table-header th:first-child {
    border-top-left-radius: 12px;
}

.tax-table-header th:last-child {
    border-top-right-radius: 12px;
}

.tax-table-row {
    background: white;
    transition: all 0.3s ease;
}

.tax-table-row:hover {
    background: rgba(72, 187, 120, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.1);
}

.tax-table-row:nth-child(even) {
    background: rgba(248, 249, 250, 0.8);
}

.tax-table-row:nth-child(even):hover {
    background: rgba(72, 187, 120, 0.08);
}

.tax-table td {
    padding: 0.875rem 1rem;
    border: none;
    text-align: center;
    font-weight: 500;
    color: #495057;
}

.currency-cell,
.usd-cell {
    font-weight: 600;
    color: #2c3e50;
}

.rate-cell {
    font-weight: 700;
}

.rate-value {
    color: #48bb78;
    font-size: 1.1rem;
}

.rate-symbol {
    color: #6c757d;
    font-weight: 500;
}

.tax-disclaimers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.disclaimer-note,
.update-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.disclaimer-note {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.update-note {
    background: rgba(13, 202, 240, 0.1);
    color: #055160;
}

.disclaimer-icon,
.update-icon {
    font-size: 1.1rem;
}

.disclaimer-text,
.update-text {
    line-height: 1.4;
}

.tax-actions {
    border-top: 1px solid rgba(72, 187, 120, 0.2);
    padding-top: 1.5rem;
}

.tax-explain-btn {
    background: linear-gradient(45deg, #48bb78 0%, #38a169 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tax-explain-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.6);
}

.btn-icon {
    font-size: 1.2rem;
}

.auth-prompt {
    text-align: center;
    background: rgba(72, 187, 120, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
}

.auth-text {
    margin-bottom: 1rem;
}

.auth-question {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
}

.auth-buttons {
    align-items: center;
}

.auth-login-btn,
.auth-register-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.auth-login-btn {
    background: rgba(255,255,255,0.9);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.auth-login-btn:hover {
    background: rgba(72, 187, 120, 0.1);
    transform: translateY(-1px);
}

.auth-register-btn {
    background: linear-gradient(45deg, #48bb78, #38a169);
    color: white;
    border: none;
}

.auth-register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
}

.auth-separator {
    color: #6c757d;
    font-weight: 500;
    margin: 0 0.5rem;
}

/* ================================ */
/* TAX EXPLANATION */
/* ================================ */

.tax-explanation-card {
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(15px);
    border: none;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(72, 187, 120, 0.1);
}

.explanation-error {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.error-message {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
}

.explanation-content {
    display: flex;
    flex-direction: column;
}

.explanation-overview {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(56, 161, 105, 0.05));
    border-radius: 12px;
    padding: 1.25rem;
    border-left: 4px solid #48bb78;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.overview-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.overview-text {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.explanation-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(72, 187, 120, 0.1);
    transition: all 0.3s ease;
}

.explanation-section:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(72, 187, 120, 0.2);
}

.section-icon {
    font-size: 1.3rem;
}

.section-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0;
}

.section-content {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.brackets-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bracket-item {
    background: rgba(72, 187, 120, 0.05);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.bracket-item:hover {
    background: rgba(72, 187, 120, 0.1);
    transform: translateX(5px);
}

.bracket-range {
    font-weight: 700;
    color: #2c3e50;
    flex: 1;
}

.bracket-connector {
    color: #6c757d;
    font-weight: 500;
}

.bracket-rate {
    font-weight: 700;
    color: #48bb78;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

/* ================================ */
/* SECTION-SPECIFIC ICON COLORS */
/* ================================ */

.crime-comparison .cost-icon {
    color: #dc3545;
}

.visa-section .cost-icon {
    color: #6f42c1;
}

.visa-requirements .cost-icon {
    color: #17a2b8;
}

.rental-sites .cost-icon {
    color: #fd7e14;
}

.job-boards .cost-icon {
    color: #0d6efd;
}

/* ================================ */
/* VISA SECTION STYLES */
/* ================================ */

.visas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.origin-country {
    color: #36a2eb;
    font-weight: 700;
}

.destination-country {
    color: #ff6384;
    font-weight: 700;
}

.visa-header {
    align-items: flex-start;
    gap: 1rem;
}

.visa-titles {
    flex: 1;
}

.visa-badge {
    background: linear-gradient(45deg, #6f42c1, #5a30a0);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.visa-content {
    margin-top: 1rem;
}

.visa-description {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.visa-requirements {
    margin-bottom: 1.5rem;
}

.requirements-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-item {
    background: rgba(111, 66, 193, 0.05);
    border-left: 3px solid #6f42c1;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
    color: #495057;
    font-weight: 500;
    line-height: 1.4;
}

.visa-research-btn {
    background: linear-gradient(45deg, #6f42c1 0%, #5a30a0 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.visa-research-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.6);
}

/* ================================ */
/* VISA EXPLANATION STYLES */
/* ================================ */

.visa-explanation .explanation-overview {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(90, 48, 160, 0.05));
    border-left: 4px solid #6f42c1;
}

.visa-requirements-list,
.visa-chances-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.visa-requirement-item,
.visa-chance-item {
    background: rgba(111, 66, 193, 0.05);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.visa-requirement-item:hover,
.visa-chance-item:hover {
    background: rgba(111, 66, 193, 0.1);
    transform: translateX(5px);
}

.requirement-bullet,
.chance-bullet {
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.requirement-bullet {
    color: #6f42c1;
}

.chance-bullet {
    font-size: 1.1rem;
}

.requirement-text,
.chance-text {
    color: #495057;
    font-weight: 500;
    line-height: 1.5;
}

/* ================================ */
/* VISA REQUIREMENTS STYLES */
/* ================================ */

.visa-requirement-card {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.05), rgba(13, 202, 240, 0.02));
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(23, 162, 184, 0.15);
}

.requirement-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.passport-info {
    font-size: 1.1rem;
    color: #495057;
    font-weight: 500;
}

.passport-country {
    font-weight: 700;
    color: #2c3e50;
    background: rgba(23, 162, 184, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
}

.requirement-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.status-required {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.05));
    color: #dc3545;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.status-moderate {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.status-easy {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(25, 135, 84, 0.05));
    color: #198754;
    border: 2px solid rgba(25, 135, 84, 0.3);
}

.status-free {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2), rgba(25, 135, 84, 0.1));
    color: #198754;
    border: 2px solid rgba(25, 135, 84, 0.4);
}

.status-icon {
    font-size: 1.2rem;
}

.destination-text {
    margin-top: 0.5rem;
    color: #6c757d;
    font-weight: 500;
}

.duration-info {
    background: rgba(25, 135, 84, 0.1);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.duration-icon {
    font-size: 1.3rem;
    color: #198754;
}

.duration-text {
    color: #495057;
    font-weight: 500;
    font-size: 1rem;
}

.duration-days {
    font-weight: 700;
    color: #198754;
    background: rgba(25, 135, 84, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

/* ================================ */
/* RENTAL SITES STYLES */
/* ================================ */

.rental-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.rental-site-item {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(253, 126, 20, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.rental-site-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 126, 20, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.rental-site-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fd7e14, #ff8c42);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rental-site-item:hover::before {
    opacity: 1;
}

.rental-site-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.25rem;
    width: 100%;
    height: 100%;
}

.rental-site-link:hover {
    text-decoration: none;
    color: inherit;
}

.site-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-icon-wrapper {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(253, 126, 20, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(253, 126, 20, 0.2);
}

.site-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.site-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.2;
}

.site-url {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.site-arrow {
    flex-shrink: 0;
    margin-left: auto;
}

.arrow-icon {
    font-size: 1.25rem;
    color: #fd7e14;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.rental-site-item:hover .arrow-icon {
    transform: translateX(3px);
}

/* ================================ */
/* JOB BOARDS STYLES */
/* ================================ */

.job-board-item {
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.job-board-item:hover {
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.15);
}

.job-board-item::before {
    background: linear-gradient(90deg, #0d6efd, #0056b3);
}

.job-board-item .site-icon-wrapper {
    background: rgba(13, 110, 253, 0.1);
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.job-board-item .arrow-icon {
    color: #0d6efd;
}

.job-research-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(13, 110, 253, 0.2);
}

.job-research-form {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form-icon {
    font-size: 1.3rem;
    color: #0d6efd;
}

.form-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.job-input-icon {
    background: linear-gradient(45deg, #0d6efd, #0056b3);
    color: white;
    border: none;
    font-size: 1.1rem;
    border-top-left-radius: 15px !important;
    border-bottom-left-radius: 15px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.job-research-btn {
    background: linear-gradient(45deg, #0d6efd 0%, #0056b3 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.job-research-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.6);
}

/* ================================ */
/* JOB EXPLANATION STYLES */
/* ================================ */

.job-explanation .explanation-overview {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(0, 86, 179, 0.05));
    border-left: 4px solid #0d6efd;
}

.salary-display {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(13, 110, 253, 0.15);
}

.salary-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d6efd;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.companies-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.company-item {
    background: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.company-item:hover {
    background: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

.company-bullet {
    color: #0d6efd;
    font-size: 1rem;
}

.company-name {
    color: #495057;
    font-weight: 600;
    line-height: 1.4;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.position-item {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.position-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.position-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0056b3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.position-item:hover::before {
    opacity: 1;
}

.position-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    width: 100%;
    height: 100%;
}

.position-link:hover {
    text-decoration: none;
    color: inherit;
}

.position-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.position-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.position-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.position-info {
    flex: 1;
}

.position-host {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.3;
}

.position-arrow {
    flex-shrink: 0;
}

.position-item .arrow-icon {
    font-size: 1.1rem;
    color: #0d6efd;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.position-item:hover .arrow-icon {
    transform: translateX(3px);
}

/* ================================ */
/* RESPONSIVE DESIGN */
/* ================================ */

@media (max-width: 768px) {
    .main-content {
        padding: 0;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .chart-item {
        padding: 1.25rem;
    }

    .chart-container {
        height: 250px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trend-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    .banner-label {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }

    .trend-text {
        min-width: auto;
        text-align: center;
    }

    .form-heading {
        font-size: 1.75rem;
    }

    .results-card {
        padding: 1.5rem;
    }

    .comparison-text {
        font-size: 1rem;
    }

    .breakdown-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .breakdown-icon {
        align-self: flex-start;
    }

    .tax-brackets-card {
        padding: 1.5rem;
    }

    .tax-table-container {
        padding: 0.5rem;
        overflow-x: auto;
    }

    .tax-table {
        min-width: 500px;
    }

    .tax-table th,
    .tax-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    .tax-disclaimers {
        gap: 0.5rem;
    }

    .disclaimer-note,
    .update-note {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .auth-separator {
        margin: 0;
    }

    .tax-explanation-card {
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .explanation-overview {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .overview-icon {
        align-self: flex-start;
    }

    .explanation-section {
        padding: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-icon {
        align-self: flex-start;
    }

    .bracket-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }

    .bracket-range,
    .bracket-connector,
    .bracket-rate {
        width: 100%;
    }

    .bracket-rate {
        text-align: center;
    }

    .visas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .visa-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .visa-badge {
        align-self: flex-start;
        margin-top: 0;
    }

    .visa-requirement-item,
    .visa-chance-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }

    .requirement-bullet,
    .chance-bullet {
        align-self: flex-start;
    }

    .visa-requirement-card {
        padding: 1.25rem;
    }

    .requirement-content {
        gap: 0.875rem;
    }

    .status-badge {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .duration-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .rental-sites-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .rental-site-link {
        padding: 1rem;
    }

    .site-content {
        gap: 0.75rem;
    }

    .site-icon-wrapper {
        width: 36px;
        height: 36px;
    }

    .site-icon {
        width: 20px;
        height: 20px;
    }

    .positions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .salary-amount {
        font-size: 1.5rem;
        padding: 0.375rem 0.75rem;
    }

    .position-content {
        gap: 0.5rem;
    }

    .position-icon-wrapper {
        width: 32px;
        height: 32px;
    }

    .position-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .chart-item {
        padding: 1rem;
    }

    .chart-container {
        height: 220px;
    }
}

@media (max-width: 1200px) {
    .desktop-sidebar-padding {
        padding-left: 0;
    }
}