
:root {
            --primary-color: #1c82b8;
            --primary-gradient-start: #41a7db;
            --primary-gradient-end: #1c82b8;
            --secondary-color: #25537A;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #dc2626;
        }

body {
            font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
            background: linear-gradient(120deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 80%);
            min-height: 100vh;
            padding-top: 2rem;
        }
h1, .h2, .fw-bold {
            color: var(--primary-color) !important;
            font-family: 'Nunito', Arial, sans-serif;
            font-weight: 900;
            letter-spacing: 0.03em;
        }
.main-container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(28, 130, 184, 0.10);
            border: 2.5px solid var(--primary-color);
            overflow: hidden;
        }
.logo { max-width: 200px; height: auto; }

.swatch-img {
  width: 72px;      /* Increased size from 48px to 72px */
  height: 72px;     /* Increased size from 48px to 72px */
  border: 2.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(28,130,184,0.06);
}
.swatch-img.selected, .swatch-option input:checked + img {
  border-color: var(--primary-color);
  box-shadow: 0 2px 12px rgba(28,130,184,0.13);
}
.swatch-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem; /* space between possible rows */
}
/* This allows the swatches to wrap onto a new line if there's not enough room */
#chest-shape-swatch, #stomach-shape-swatch {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* space between swatch images */
}
.btn-primary, .btn-outline-primary {
            font-family: 'Nunito', Arial, sans-serif;
            font-weight: 700;
        }
.btn-primary:hover {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(67,56,202,0.12);
        }
.btn-success {
            background-color: var(--success-color);
            border-color: var(--success-color);
            font-weight: 600;
        }
.form-control, .form-select {
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 16px;
            transition: border-color 0.2s;
        }
.form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(99,102,241,0.1);
        }
.card {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            transition: all 0.2s;
        }
.card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        }
.nav-tabs .nav-link {
            border: none;
            border-radius: 8px 8px 0 0;
            font-weight: 600;
            color: #6b7280;
            padding: 12px 24px;
        }
.nav-tabs .nav-link.active {
            background-color: var(--primary-color);
            color: white;
        }
.tab-content {
            padding: 2rem;
            background: white;
            border-radius: 0 0 12px 12px;
            border: 1px solid #e5e7eb;
            border-top: none;
        }
.metric-card {
            background: #f8fafc;
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
            border: 1px solid #e5e7eb;
        }
.metric-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color);
        }
.metric-label {
            font-size: 0.875rem;
            color: #6b7280;
            margin-top: 0.25rem;
        }
.brand-recommendation {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border: 1px solid #0ea5e9;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            transition: all 0.2s;
        }
.brand-recommendation:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(14,165,233,0.15);
        }
.match-score {
            background: var(--success-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
        }
.match-score.excellent { background: #059669; }
.match-score.very-good { background: var(--success-color);}
.match-score.good { background: #f59e0b;}
.insight-badge {
            background: #ede9fe;
            color: #6d28d9;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 500;
            margin: 0.25rem 0.25rem 0 0;
            display: inline-block;
        }
.confidence-factor {
            background: #dcfce7;
            color: #166534;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 500;
            margin: 0.25rem 0.25rem 0 0;
            display: inline-block;
        }
.alert {
            border: none;
            border-radius: 8px;
            padding: 1rem 1.5rem;
        }
        @media (max-width: 768px) {
            .main-container {
                margin: 1rem;
                border-radius: 12px;
            }
            .tab-content {
                padding: 1rem;
            }
        }
        /* Badge style for "Coming Soon" */
        .soon-badge {
            position: absolute;
            top: -4px;
            right: -12px;
            display: inline-block;
            background: var(--warning-color);
            color: white;
            font-size: 0.65rem;
            padding: 2px 8px;
            border-radius: 20px;
            font-weight: 700;
            letter-spacing: 0.05em;
            opacity: 0.9;
            box-shadow: 0 2px 4px rgba(245,158,11,0.09);
        }
        .nav-link.position-relative { position: relative; }


@media (max-width: 660px) {
    .container {
        padding: 13vw 2vw 10vw 2vw;
        min-width: 0;
        width: 99vw;
        border-radius: 4vw;
    }
    h1 {
        font-size: 1.2em;
    }
    .inline-fields {
        flex-direction: column;
        gap: 7px;
        align-items: flex-start;
    }
    input, select {
        font-size: 0.98em;
        padding: 7.5px 8px;
    }
    button {
        width: 100%;
        min-width: 0;
    }
}
/* Add to the end of your styles.css file */

/* Enhanced Brand Recommendation Styles */
.scoring-breakdown {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.scoring-breakdown small {
    color: #64748b;
    font-weight: 500;
}

/* Length Compatibility Indicator */
.length-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.length-info i {
    color: #3b82f6;
    margin-right: 0.25rem;
}

/* Enhanced Match Score Badges */
.match-score.excellent {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.match-score.very-good {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.match-score.good {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Compatibility Level Badges */
.badge.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

/* Enhanced Insight Badges */
.insight-badge {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 1px solid #c4b5fd;
    color: #6d28d9;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0 0;
    display: inline-block;
    transition: transform 0.2s ease;
}

.insight-badge:hover {
    transform: translateY(-1px);
}

/* Enhanced Confidence Factor Badges */
.confidence-factor {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    color: #166534;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0 0;
    display: inline-block;
    transition: transform 0.2s ease;
}

.confidence-factor:hover {
    transform: translateY(-1px);
}


.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    .scoring-breakdown {
        padding: 0.5rem;
        margin: 0.5rem 0;
    }

    .insight-badge, .confidence-factor {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        margin: 0.2rem 0.2rem 0 0;
    }

    .match-score {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}
.recommendation-card {
    border: 2px solid #28a745 !important;
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.brand-name {
    color: #28a745;
    font-weight: 600;
}

.match-badge {
    background-color: #d4edda;
    color: #155724;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-shop {
    background-color: #28a745;
    border-color: #28a745;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.btn-shop:hover {
    background-color: #218838;
    border-color: #1e7e34;
}
.nav a[href="feedback.html"] {
  font-weight: bold;
  color: #4a90e2;
}
.bullet-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0.5rem 0;
    text-align: left;
}
/* Navigation styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-left, .nav-right {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-left li a, .nav-right li a {
    color: #1c82b8;
    text-decoration: none;
    font-weight: 600;
}

.nav-right {
    margin-left: 100px;
}
