/* ==========================================================================
   Equipment Pages Styles
   Shared styles for equipment.html, equipment_detail.html,
   equipment_compare.html, equipment_compare_select.html
   ========================================================================== */

/* ==========================================================================
   Equipment Public Page - Hero (Anonymous Users)
   ========================================================================== */
.equipment-public-hero {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.equipment-public-hero__icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.equipment-public-hero__title {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.equipment-public-hero__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.equipment-public-hero__cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.equipment-public-hero__btn {
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.equipment-public-hero__btn--primary {
    background: #059669;
    color: white;
}

.equipment-public-hero__btn--primary:hover {
    background: #047857;
    transform: translateY(-2px);
}

.equipment-public-hero__btn--secondary {
    background: white;
    color: #059669;
    border: 2px solid #059669;
}

.equipment-public-hero__btn--secondary:hover {
    background: #059669;
    color: white;
}

[data-theme="dark"] .equipment-public-hero {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-bg) 100%);
}

[data-theme="dark"] .equipment-public-hero__btn--secondary {
    background: var(--card-bg);
}

/* ==========================================================================
   Equipment Public Page - Community Sections
   ========================================================================== */
.equipment-public-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.equipment-public-section__title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.equipment-public-section__subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* Toggle buttons for collapsible sections */
.equipment-toggle-btn {
    text-align: center;
    margin: 1rem 0 0.5rem;
}

/* ==========================================================================
   Equipment List Page - Hero & Header
   ========================================================================== */
.equipment-header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFB 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.equipment-header__title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0;
    font-weight: 700;
}

.equipment-header__subtitle {
    display: none;
}

.equipment-header__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Equipment List Page - Bag Overview
   ========================================================================== */
.bag-overview {
    background: white;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.bag-overview__count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bag-overview__number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
}

.bag-overview__number span {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.bag-overview__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bag-overview__composition {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bag-overview__item {
    text-align: center;
}

.bag-overview__item-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-green);
}

.bag-overview__item-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Equipment List Page - Filters
   ========================================================================== */
.equipment-filters {
    background: white;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.equipment-filters__group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.equipment-filters__label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.equipment-filters__select {
    padding: 0.625rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    min-width: 180px;
    background: white;
    cursor: pointer;
}

.equipment-filters__select:focus {
    outline: none;
    border-color: var(--accent-green);
}

.equipment-filters__checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid var(--accent-green);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.equipment-filters__checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.equipment-filters__buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.equipment-filters__btn {
    padding: 0.625rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.equipment-filters__btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(5, 150, 105, 0.05);
}

.equipment-filters__btn--active {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    color: white;
    border-color: var(--accent-green);
}

/* ==========================================================================
   Equipment List Page - Category Sections
   ========================================================================== */
.equipment-category {
    margin-bottom: 1.5rem;
}

.equipment-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.equipment-category__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.equipment-category__count {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--accent-green);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(5, 150, 105, 0.2);
}

/* ==========================================================================
   Equipment List Page - Equipment Cards Grid
   ========================================================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.equipment-card {
    background: var(--secondary-bg);
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.25s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0.6;
}

.equipment-card--in-bag {
    background: white;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px var(--accent-green);
    opacity: 1;
}

.equipment-card:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.12);
}

.equipment-card--in-bag:hover {
    border-color: #047857;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.2);
    transform: translateY(-4px);
}

.equipment-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-card__type {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.equipment-card__name {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.equipment-card__specs {
    text-align: center;
    font-size: 1.1rem;
    color: #8b5cf6;
    font-weight: 700;
}

.equipment-card__year {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Equipment List Page - Performance Badge
   ========================================================================== */
.equipment-performance {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 3px solid #3b82f6;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.equipment-performance__title {
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.equipment-performance__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.equipment-performance__item-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.equipment-performance__item-value {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.1rem;
}

.equipment-performance__item-value--good {
    color: var(--accent-green);
}

.equipment-performance__item-value--warning {
    color: #ea580c;
}

/* ==========================================================================
   Equipment List Page - Card Actions
   ========================================================================== */
.equipment-card__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
}

.equipment-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    border: 2px solid;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.equipment-btn--edit {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    color: white;
    border-color: var(--accent-green);
}

.equipment-btn--edit:hover {
    background: linear-gradient(135deg, #047857 0%, var(--accent-green) 100%);
    border-color: #047857;
}

.equipment-btn--details {
    background: white;
    color: #8b5cf6;
    border-color: #8b5cf6;
}

.equipment-btn--details:hover {
    background: #8b5cf6;
    color: white;
}

.equipment-btn--delete {
    background: white;
    color: #dc2626;
    border-color: var(--border-color);
}

.equipment-btn--delete:hover {
    border-color: #dc2626;
}

/* ==========================================================================
   Equipment List Page - Empty State
   ========================================================================== */
.equipment-empty {
    background: white;
    border-radius: 12px;
    padding: 5rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.equipment-empty__icon {
    font-size: 5rem;
    color: rgba(5, 150, 105, 0.2);
    margin-bottom: 2rem;
}

.equipment-empty__title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.equipment-empty__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Equipment Detail Page - Hero
   ========================================================================== */
.detail-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    color: white;
}

.detail-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.detail-hero__back:hover {
    background: rgba(255, 255, 255, 0.3);
}

.detail-hero__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.detail-hero__subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* ==========================================================================
   Equipment Detail Page - Stats Grid
   ========================================================================== */
.detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid;
}

.detail-stat-card--primary {
    border-left-color: #8b5cf6;
}

.detail-stat-card--success {
    border-left-color: #16a34a;
}

.detail-stat-card--warning {
    border-left-color: #ea580c;
}

.detail-stat-card--danger {
    border-left-color: #dc2626;
}

.detail-stat-card__label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-stat-card__value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1b5e20;
}

.detail-stat-card__subtext {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Equipment Detail Page - Sections
   ========================================================================== */
.detail-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.detail-section__title {
    font-size: 1.5rem;
    color: #1b5e20;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8f5e9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   Equipment Detail Page - Progress Bars
   ========================================================================== */
.detail-progress-container {
    background: #f0f0f0;
    border-radius: 10px;
    height: 30px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.detail-progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: width 0.6s ease;
}

.detail-progress-bar--excellent {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.detail-progress-bar--good {
    background: linear-gradient(90deg, #ea580c 0%, #fb923c 100%);
}

.detail-progress-bar--needs-work {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

/* ==========================================================================
   Equipment Detail Page - Miss Direction Chart
   ========================================================================== */
.miss-direction-chart {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.miss-direction-chart__bar {
    flex: 1;
    text-align: center;
}

.miss-direction-chart__fill {
    background: linear-gradient(180deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 6px 6px 0 0;
    color: white;
    font-weight: 700;
    padding: 0.5rem;
    font-size: 1.2rem;
    min-height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.miss-direction-chart__fill--center {
    background: linear-gradient(180deg, #16a34a 0%, #22c55e 100%);
}

.miss-direction-chart__label {
    padding: 0.5rem;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   Equipment Detail Page - Usage List
   ========================================================================== */
.detail-usage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-usage-item {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-usage-item:last-child {
    border-bottom: none;
}

.detail-usage-item__name {
    font-weight: 600;
    color: #1b5e20;
}

.detail-usage-item__date {
    color: #666;
    font-size: 0.9rem;
}

.detail-usage-item__value {
    font-weight: 700;
    font-size: 1.2rem;
}

.detail-usage-item__value--purple {
    color: #8b5cf6;
}

.detail-usage-item__value--green {
    color: #16a34a;
}

/* ==========================================================================
   Equipment Detail Page - Putt Distribution
   ========================================================================== */
.putt-distribution {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.putt-distribution__stat {
    background: #f8fdf9;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e8f5e9;
}

.putt-distribution__count {
    font-size: 2rem;
    font-weight: 800;
}

.putt-distribution__count--green {
    color: #16a34a;
}

.putt-distribution__count--orange {
    color: #ea580c;
}

.putt-distribution__count--red {
    color: #dc2626;
}

.putt-distribution__label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Equipment Detail Page - Empty State
   ========================================================================== */
.detail-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

.detail-empty-state__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* ==========================================================================
   Equipment Compare Page - Hero
   ========================================================================== */
.compare-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    color: white;
    text-align: center;
}

.compare-hero__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.compare-hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Equipment Compare Page - Grid
   ========================================================================== */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.compare-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.compare-card--winner {
    border: 3px solid #16a34a;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.3);
}

.compare-card__header {
    text-align: center;
    margin-bottom: 2rem;
}

.compare-card__name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1b5e20;
    margin-bottom: 0.5rem;
}

.compare-card__type {
    color: #666;
    font-size: 1.1rem;
}

.compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: #8b5cf6;
    align-self: center;
}

/* ==========================================================================
   Equipment Compare Page - Stat Rows
   ========================================================================== */
.compare-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid;
}

.compare-stat-row--winner {
    border-left-color: #16a34a;
    background: #f0fdf4;
}

.compare-stat-row--loser {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.compare-stat-row--tie {
    border-left-color: #6b7280;
    background: #f3f4f6;
}

.compare-stat-row__label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compare-stat-row__value {
    font-size: 2rem;
    font-weight: 800;
    color: #1b5e20;
}

.compare-stat-row__value--winner {
    color: #16a34a;
}

.compare-stat-row__value--loser {
    color: #dc2626;
}

.compare-stat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.compare-stat-badge--better {
    background: #16a34a;
    color: white;
}

.compare-stat-badge--worse {
    background: #dc2626;
    color: white;
}

/* ==========================================================================
   Equipment Compare Page - Performance Score
   ========================================================================== */
.compare-performance-score {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.compare-performance-score__title {
    font-size: 1.3rem;
    color: #1b5e20;
    margin-bottom: 1rem;
}

.compare-performance-score__value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #16a34a;
}

/* ==========================================================================
   Equipment Compare Page - Winner Banner
   ========================================================================== */
.compare-winner-banner {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ==========================================================================
   Equipment Compare Select Page - Select Hero
   ========================================================================== */
.select-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    color: white;
    text-align: center;
}

.select-hero__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.select-hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Equipment Compare Select Page - Select Container
   ========================================================================== */
.select-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.select-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.select-column__title {
    font-size: 1.3rem;
    color: #1b5e20;
    margin-bottom: 1rem;
    font-weight: 700;
}

.select-item {
    padding: 1rem;
    border: 2px solid #e8f5e9;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-item:hover {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.select-item--selected {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.select-item__name {
    font-weight: 700;
    color: #1b5e20;
    font-size: 1.1rem;
}

.select-item__type {
    color: #666;
    font-size: 0.9rem;
}

.select-item__indicator {
    background: #8b5cf6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.select-arrow {
    font-size: 3rem;
    color: #8b5cf6;
    align-self: center;
    text-align: center;
}

/* ==========================================================================
   Equipment Compare Select Page - Compare Button
   ========================================================================== */
.select-compare-btn {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 2rem;
    width: 100%;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.select-compare-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.select-compare-btn:disabled {
    background: #d1d5db;
    box-shadow: none;
    cursor: not-allowed;
}

/* ==========================================================================
   Equipment Compare Select Page - Empty State
   ========================================================================== */
.select-empty-state {
    text-align: center;
    padding: 3rem;
    color: #999;
}

/* ==========================================================================
   Shared - Primary Button
   ========================================================================== */
.equipment-btn-primary {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--accent-green);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.equipment-btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, var(--accent-green) 100%);
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

/* ==========================================================================
   Floating Save Button
   ========================================================================== */
.save-floating-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    animation: slideUp 0.3s ease;
}

.save-floating-btn button {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.save-floating-btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(22, 163, 74, 0.5);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Compact Equipment Cards
   ========================================================================== */
.equipment-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.75rem;
}

.equipment-card--compact {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.equipment-card--compact .equipment-card__main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 0.5rem;
    margin: -0.5rem;
    margin-right: 0;
    border-radius: 8px;
    transition: background 0.2s;
    overflow: hidden;
}

.equipment-card--compact .equipment-card__main:hover {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .equipment-card--compact .equipment-card__main:hover {
    background: rgba(255, 255, 255, 0.05);
}

.equipment-card--compact .equipment-card__info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.equipment-card--compact .equipment-card__name-row {
    display: block;
}

.equipment-card--compact .equipment-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.equipment-card--compact .equipment-card__in-bag-tag {
    background: var(--accent-green);
    color: white;
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.equipment-card--compact .equipment-card__meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.equipment-card--compact .equipment-card__quick-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.equipment-card--compact .equipment-card__handicap {
    font-size: 1.1rem;
    font-weight: 700;
}

.equipment-card--compact .equipment-card__handicap--good {
    color: #16a34a;
}

.equipment-card--compact .equipment-card__handicap--warning {
    color: #ea580c;
}

.equipment-card--compact .equipment-card__handicap--bad {
    color: #dc2626;
}

.equipment-card--compact .equipment-card__badge-mini {
    font-size: 1.25rem;
}

/* Bag Toggle Button */
.equipment-card__bag-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    background: var(--secondary-bg);
    position: relative;
}

.equipment-card__bag-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.equipment-card__bag-toggle i {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all 0.2s;
    position: relative;
}

/* Inactive state - show strike-through */
.equipment-card__bag-toggle:not(.equipment-card__bag-toggle--active) i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -3px;
    right: -3px;
    height: 2px;
    background: var(--text-secondary);
    transform: rotate(-45deg);
}

.equipment-card__bag-toggle:hover {
    border-color: var(--accent-green);
    background: rgba(5, 150, 105, 0.05);
}

.equipment-card__bag-toggle:hover i {
    color: var(--accent-green);
}

/* Active state - green and filled */
.equipment-card__bag-toggle--active {
    background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
    border-color: var(--accent-green);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.equipment-card__bag-toggle--active i {
    color: white;
}

.equipment-card__bag-toggle--active i::after {
    display: none;
}

.equipment-card__bag-toggle--active:hover {
    background: linear-gradient(135deg, #047857 0%, var(--accent-green) 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* Instant tooltip */
.equipment-card__bag-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s;
    pointer-events: none;
    margin-bottom: 4px;
}

.equipment-card__bag-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1f2937;
}

.equipment-card__bag-toggle:hover .equipment-card__bag-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Hide tooltip on mobile (touch devices) */
@media (hover: none) {
    .equipment-card__bag-tooltip {
        display: none;
    }
}

.equipment-card--compact .equipment-card__toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    margin-top: 0.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: color 0.2s;
}

.equipment-card--compact .equipment-card__toggle:hover {
    color: var(--accent-green);
}

/* Compact card details section */
.equipment-card--compact .equipment-card__details {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.equipment-card--compact .equipment-card__badge-section {
    background: var(--secondary-bg);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.equipment-card--compact .equipment-card__badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.equipment-card--compact .equipment-card__badge-rounds {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.equipment-card--compact .equipment-card__badge-progress {
    background: #e5e7eb;
    border-radius: 999px;
    height: 4px;
    overflow: hidden;
    margin: 0.5rem 0 0.25rem;
}

.equipment-card--compact .equipment-card__badge-fill {
    height: 100%;
    transition: width 0.5s;
}

.equipment-card--compact .equipment-card__badge-next {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
}

.equipment-card--compact .equipment-card__perf-row {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.equipment-card--compact .equipment-card__perf-row span {
    font-weight: 600;
}

.equipment-card--compact .equipment-card__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.equipment-card--compact .equipment-card__checkbox {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.equipment-card--compact .equipment-card__iron-config {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.equipment-card--compact .equipment-card__iron-config input[type="number"] {
    width: 45px;
    padding: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
}

.equipment-card--compact .equipment-card__iron-config label {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
}

.equipment-card--compact .equipment-card__form textarea {
    width: 100%;
    padding: 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    resize: vertical;
    min-height: 32px;
}

.equipment-card--compact .equipment-card__actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.equipment-card--compact .equipment-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   Mobile Filter Dropdown & Desktop Buttons
   ========================================================================== */
.equipment-filters__mobile {
    display: none;
}

.equipment-filters__desktop {
    display: flex;
    flex: 1;
}

.equipment-filters__select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 140px;
}

.equipment-filters__in-bag-form {
    margin-left: auto;
}

.equipment-filters__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    text-decoration: none;
    transition: all 0.2s;
}

.equipment-filters__clear:hover {
    background: #dc2626;
    color: white;
}

/* ==========================================================================
   Floating Add Button (Mobile)
   ========================================================================== */
.floating-add-btn {
    display: none;
}

/* ==========================================================================
   Equipment Card Arrow
   ========================================================================== */
.equipment-card__arrow {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.equipment-card__main:hover .equipment-card__arrow {
    opacity: 1;
}

/* ==========================================================================
   Responsive - Mobile
   ========================================================================== */
@media (max-width: 768px) {
    /* Page container - tighter padding */
    .equipment-page {
        padding: 0.5rem !important;
        padding-bottom: 5rem !important;
    }

    /* Public Hero - compact */
    .equipment-public-hero {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .equipment-public-hero__icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .equipment-public-hero__title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .equipment-public-hero__text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .equipment-public-hero__cta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .equipment-public-hero__btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Toggle buttons - compact */
    .equipment-toggle-btn {
        margin: 0.75rem 0 0.35rem;
    }

    .equipment-toggle-btn .action-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Community inline sections - mobile overrides */
    #bestPerformingSection > div,
    #communitySection > div {
        padding: 1rem !important;
        border-radius: 8px !important;
    }

    #bestPerformingSection h2,
    #communitySection h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    #bestPerformingSection p,
    #communitySection p {
        font-size: 0.8rem !important;
        margin-bottom: 1rem !important;
    }

    /* Category cards in best performing */
    #bestPerformingSection > div > div > div[style*="padding: 1.5rem"] {
        padding: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    #bestPerformingSection h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Item cards */
    #bestPerformingSection div[style*="padding: 1rem"][style*="border-radius: 6px"],
    #communitySection div[style*="padding: 1rem"][style*="border-radius: 6px"] {
        padding: 0.65rem !important;
    }

    #bestPerformingSection div[style*="font-size: 1.5rem"][style*="font-weight: 800"] {
        font-size: 1.1rem !important;
    }

    /* Community stats grid */
    #communitySection div[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    #communitySection div[style*="padding: 1.5rem"][style*="border-radius: 8px"] {
        padding: 0.75rem !important;
    }

    #communitySection div[style*="font-size: 2rem"][style*="font-weight: 700"] {
        font-size: 1.35rem !important;
    }

    /* Header - compact */
    .equipment-header {
        padding: 0.65rem 0.75rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
    }

    .equipment-header__title {
        font-size: 1rem;
    }

    .equipment-header__title i {
        font-size: 0.9rem;
    }

    .equipment-header__actions {
        gap: 0.35rem;
    }

    .equipment-btn-primary {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        border-width: 1px;
    }

    .equipment-btn-primary--icon {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .equipment-btn-primary .btn-text {
        display: none;
    }

    .equipment-btn-primary--desktop {
        display: none;
    }

    /* Bag Overview - compact horizontal with mini composition */
    .bag-overview {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        gap: 0.5rem;
    }

    .bag-overview__count {
        gap: 0.25rem;
    }

    .bag-overview__number {
        font-size: 1.35rem;
    }

    .bag-overview__number span {
        font-size: 1rem;
    }

    .bag-overview__label {
        font-size: 0.6rem;
    }

    .bag-overview__composition {
        display: flex;
        gap: 0.35rem;
    }

    .bag-overview__item {
        padding: 0.25rem 0.4rem;
        background: var(--secondary-bg);
        border-radius: 4px;
    }

    .bag-overview__item-value {
        font-size: 0.85rem;
    }

    .bag-overview__item-label {
        font-size: 0.5rem;
    }

    /* Filters - compact sticky bar */
    .equipment-filters {
        padding: 0.35rem 0.5rem;
        margin-bottom: 0.5rem;
        position: sticky;
        top: 0;
        z-index: 50;
        border-radius: 8px;
        gap: 0.5rem;
    }

    .equipment-filters__mobile {
        display: block;
        flex: 1;
    }

    .equipment-filters__desktop {
        display: none;
    }

    .equipment-filters__select {
        width: 100%;
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .equipment-filters__checkbox {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    .equipment-filters__checkbox span {
        display: none;
    }

    .equipment-filters__checkbox input {
        width: 16px;
        height: 16px;
    }

    .equipment-filters__clear {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    /* Category headers - compact */
    .equipment-category {
        margin-bottom: 0.75rem;
    }

    .equipment-category__header {
        margin-bottom: 0.35rem;
        padding-bottom: 0.2rem;
    }

    .equipment-category__title {
        font-size: 0.9rem;
        gap: 0.35rem;
    }

    .equipment-category__count {
        padding: 0.1rem 0.4rem;
        font-size: 0.65rem;
        border-radius: 8px;
    }

    /* Equipment grid - tighter */
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .equipment-grid--compact {
        gap: 0.25rem;
    }

    /* Equipment cards - compact horizontal */
    .equipment-card {
        padding: 0.5rem;
        border-radius: 8px;
    }

    .equipment-card:hover {
        transform: none;
    }

    .equipment-card--compact {
        padding: 0.4rem 0.5rem;
        gap: 0.4rem;
    }

    .equipment-card--compact .equipment-card__main {
        padding: 0.35rem;
        margin: -0.35rem;
        margin-right: 0;
    }

    .equipment-card--compact .equipment-card__name {
        font-size: 0.8rem;
    }

    .equipment-card--compact .equipment-card__meta {
        font-size: 0.65rem;
    }

    .equipment-card--compact .equipment-card__quick-stats {
        gap: 0.25rem;
    }

    .equipment-card--compact .equipment-card__handicap {
        font-size: 0.85rem;
    }

    .equipment-card--compact .equipment-card__badge-mini {
        font-size: 0.9rem;
    }

    .equipment-card__arrow {
        font-size: 0.65rem;
    }

    /* Bag toggle - optimized tap target */
    .equipment-card__bag-toggle {
        width: 38px;
        height: 38px;
    }

    .equipment-card__bag-toggle i {
        font-size: 1rem;
    }

    /* Empty state - compact */
    .equipment-empty {
        padding: 2.5rem 1rem;
        border-radius: 8px;
    }

    .equipment-empty__icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .equipment-empty__title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
    }

    .equipment-empty__text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* Floating Add Button - show on mobile */
    .floating-add-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 5rem;
        right: 1rem;
        width: 52px;
        height: 52px;
        background: linear-gradient(135deg, var(--accent-green) 0%, #10B981 100%);
        color: white;
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(5, 150, 105, 0.4);
        text-decoration: none;
        font-size: 1.35rem;
        z-index: 90;
        transition: all 0.2s;
    }

    .floating-add-btn:active {
        transform: scale(0.95);
    }

    /* Save button positioning */
    .save-floating-btn {
        bottom: 5rem;
        right: 4.5rem;
    }

    .save-floating-btn button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Detail page - compact */
    .detail-hero {
        padding: 1.5rem 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .detail-hero__back {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .detail-hero__title {
        font-size: 1.35rem;
        margin-bottom: 0.25rem;
    }

    .detail-hero__subtitle {
        font-size: 1rem;
    }

    .detail-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .detail-stat-card {
        padding: 0.75rem;
        border-radius: 8px;
        border-left-width: 3px;
    }

    .detail-stat-card__label {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .detail-stat-card__value {
        font-size: 1.5rem;
    }

    .detail-stat-card__subtext {
        font-size: 0.7rem;
    }

    .detail-section {
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .detail-section__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    /* Compare page */
    .compare-hero {
        padding: 1.5rem 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .compare-hero__title {
        font-size: 1.5rem;
    }

    .compare-hero__subtitle {
        font-size: 0.95rem;
    }

    .compare-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .compare-vs {
        display: none;
    }

    .compare-card {
        padding: 1rem;
        border-radius: 8px;
    }

    .compare-card__name {
        font-size: 1.25rem;
    }

    .compare-stat-row {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
        border-left-width: 3px;
    }

    .compare-stat-row__value {
        font-size: 1.35rem;
    }

    .select-hero {
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .select-hero__title {
        font-size: 1.5rem;
    }

    .select-container {
        padding: 1rem;
        border-radius: 8px;
    }

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

    .select-arrow {
        display: none;
    }

    .select-item {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .equipment-header__title {
        font-size: 0.9rem;
    }

    .equipment-btn-primary--icon {
        width: 32px;
        height: 32px;
    }

    .bag-overview__composition {
        display: none;
    }

    .equipment-card--compact .equipment-card__name {
        font-size: 0.75rem;
    }

    .equipment-card--compact .equipment-card__meta {
        font-size: 0.6rem;
    }

    .equipment-card__bag-toggle {
        width: 34px;
        height: 34px;
    }

    .save-floating-btn {
        bottom: 1.5rem;
        left: 1rem;
        right: auto;
    }

    .save-floating-btn button {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .floating-add-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */
[data-theme="dark"] .equipment-header {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--secondary-bg) 100%);
}

[data-theme="dark"] .bag-overview,
[data-theme="dark"] .equipment-filters,
[data-theme="dark"] .equipment-empty {
    background: var(--card-bg);
}

[data-theme="dark"] .equipment-filters__select {
    background: var(--secondary-bg);
    color: var(--text-primary);
}

[data-theme="dark"] .equipment-filters__btn {
    background: var(--secondary-bg);
    color: var(--text-secondary);
}

[data-theme="dark"] .equipment-card--in-bag {
    background: var(--card-bg);
}

[data-theme="dark"] .equipment-performance {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
    border-color: #3b82f6;
}

[data-theme="dark"] .equipment-performance__title {
    color: #93c5fd;
}

[data-theme="dark"] .equipment-performance__item-value {
    color: #93c5fd;
}

[data-theme="dark"] .equipment-btn--details {
    background: var(--secondary-bg);
}

[data-theme="dark"] .equipment-btn--delete {
    background: var(--secondary-bg);
}

[data-theme="dark"] .detail-section,
[data-theme="dark"] .detail-stat-card,
[data-theme="dark"] .compare-card,
[data-theme="dark"] .select-container {
    background: var(--card-bg);
}

[data-theme="dark"] .detail-section__title,
[data-theme="dark"] .detail-stat-card__value,
[data-theme="dark"] .compare-card__name,
[data-theme="dark"] .select-column__title,
[data-theme="dark"] .select-item__name {
    color: #86efac;
}

[data-theme="dark"] .compare-stat-row {
    background: var(--secondary-bg);
}

[data-theme="dark"] .compare-stat-row--winner {
    background: rgba(22, 163, 74, 0.15);
}

[data-theme="dark"] .compare-stat-row--loser {
    background: rgba(220, 38, 38, 0.15);
}

[data-theme="dark"] .select-item {
    border-color: var(--border-color);
}

[data-theme="dark"] .select-item:hover {
    background: var(--secondary-bg);
}

[data-theme="dark"] .select-item--selected {
    background: rgba(139, 92, 246, 0.15);
}

[data-theme="dark"] .putt-distribution__stat {
    background: var(--secondary-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .compare-performance-score {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.2) 0%, rgba(22, 163, 74, 0.1) 100%);
}

/* Dark mode bag toggle */
[data-theme="dark"] .equipment-card__bag-toggle {
    background: var(--secondary-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .equipment-card__bag-toggle:hover {
    background: rgba(5, 150, 105, 0.15);
}

/* Dark mode compact cards */
[data-theme="dark"] .equipment-card--compact .equipment-card__badge-section {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .equipment-card--compact .equipment-card__badge-progress {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .equipment-card--compact .equipment-card__iron-config input[type="number"],
[data-theme="dark"] .equipment-card--compact .equipment-card__form textarea {
    background: var(--secondary-bg);
    color: var(--text-primary);
}

/* Dark mode mobile elements */
[data-theme="dark"] .equipment-filters__select {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .equipment-filters__clear {
    background: rgba(220, 38, 38, 0.2);
}

@media (max-width: 768px) {
    [data-theme="dark"] .equipment-filters {
        background: var(--card-bg);
    }
}
