/* Equipment Page Styles */

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease;
}

.page-header-content h1.page-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: -1px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    color: rgba(196, 181, 160, 0.7);
    font-weight: 500;
}

/* Button Wrapper for Ripple Effect */
.btn-wrapper {
    position: relative;
    display: inline-block;
}

.btn-wrapper::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 2px solid rgba(242, 207, 123, 0.3);
    border-radius: 28px;
    opacity: 0;
    transition: all 0.6s ease;
    transition-delay: 0.1s;
    pointer-events: none;
}

.btn-wrapper:hover::before {
    opacity: 1;
    inset: -24px;
    border-radius: 32px;
    border-color: rgba(242, 207, 123, 0.15);
}

/* Add Equipment Button */
.btn-add-equipment {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(5, 5, 5, 0.9);
    border: none;
    border-radius: 16px;
    color: #f2cf7b;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Animated Gradient Border */
.btn-add-equipment::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2.5px;
    background: linear-gradient(135deg, 
        #7d3f26 0%, 
        #d4a574 25%,
        #f2cf7b 50%,
        #d4a574 75%,
        #7d3f26 100%);
    background-size: 300% 300%;
    border-radius: 16px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: gradientShift 3s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Expanding Ripple Rings */
.btn-add-equipment::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(242, 207, 123, 0.4);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-add-equipment:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.btn-add-equipment:hover::before {
    animation-duration: 1.5s;
}

.btn-add-equipment:hover::after {
    opacity: 1;
    inset: -16px;
    border-radius: 24px;
    border-color: rgba(242, 207, 123, 0.2);
}

.btn-add-equipment svg,
.btn-add-equipment span {
    position: relative;
    z-index: 1;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
}

/* Equipment Card */
.equipment-card {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.6s ease;
}

/* Gradient Border */
.equipment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    background: linear-gradient(135deg, 
        rgba(125, 63, 38, 0.6) 0%, 
        rgba(212, 165, 116, 0.8) 30%,
        rgba(242, 207, 123, 0.9) 50%,
        rgba(212, 165, 116, 0.8) 70%,
        rgba(125, 63, 38, 0.6) 100%);
    border-radius: 24px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.6;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.equipment-card:hover::before {
    opacity: 1;
    padding: 2.5px;
    filter: drop-shadow(0 0 12px rgba(242, 207, 123, 0.4));
}

.equipment-card:hover {
    transform: translateY(-6px);
    background: rgba(5, 5, 5, 0.92);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(174, 113, 58, 0.3);
}

/* Card Header */
.equipment-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.equipment-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Default Badge */
.default-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f2cf7b 0%, #d29658 100%);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(242, 207, 123, 0.3);
    animation: defaultPulse 2s ease-in-out infinite;
}

@keyframes defaultPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(242, 207, 123, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(242, 207, 123, 0.5);
    }
}

.equipment-card-actions {
    display: flex;
    gap: 8px;
}

.equipment-action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 9, 8, 0.6);
    border: 1px solid rgba(168, 107, 62, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.equipment-action-btn:hover {
    background: rgba(10, 9, 8, 0.9);
    border-color: rgba(212, 165, 116, 0.6);
    transform: translateY(-2px);
}

.equipment-action-btn.delete:hover {
    border-color: rgba(239, 68, 68, 0.6);
}

.equipment-action-btn svg {
    width: 18px;
    height: 18px;
    stroke: rgba(212, 165, 116, 0.8);
}

.equipment-action-btn.delete svg {
    stroke: rgba(239, 68, 68, 0.8);
}

/* Card Content */
.equipment-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.equipment-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.equipment-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(212, 165, 116, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.equipment-section-title svg {
    width: 16px;
    height: 16px;
    stroke: rgba(212, 165, 116, 0.6);
}

.equipment-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.equipment-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.equipment-detail-label {
    font-size: 11px;
    color: rgba(196, 181, 160, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equipment-detail-value {
    font-size: 15px;
    color: rgba(244, 241, 234, 0.9);
    font-weight: 600;
}

/* Equipment Card Footer */
.equipment-card-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
}

/* Default Button */
.default-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.default-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(242, 207, 123, 0.1), transparent);
    transition: left 0.5s ease;
}

.default-btn:hover {
    background: rgba(242, 207, 123, 0.1);
    border-color: rgba(242, 207, 123, 0.4);
    color: #f2cf7b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 207, 123, 0.2);
}

.default-btn:hover::before {
    left: 100%;
}

.default-btn .material-symbols-rounded {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.default-btn:hover .material-symbols-rounded {
    transform: scale(1.2);
}

/* Active Default Button */
.default-btn.active {
    background: linear-gradient(135deg, #f2cf7b 0%, #d29658 100%);
    border-color: #f2cf7b;
    color: #1a1a1a;
    cursor: default;
    box-shadow: 0 4px 16px rgba(242, 207, 123, 0.4);
}

.default-btn.active:hover {
    transform: none;
}

.default-btn.active .material-symbols-rounded {
    font-variation-settings: 'FILL' 1;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    animation: fadeIn 0.6s ease;
}

.empty-state-card {
    width: 100%;
    max-width: 600px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    text-align: center;
    cursor: pointer;
}

/* Gradient Border for Empty State Card */
.empty-state-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    background: linear-gradient(135deg, 
        rgba(125, 63, 38, 0.5) 0%, 
        rgba(212, 165, 116, 0.7) 30%,
        rgba(242, 207, 123, 0.8) 50%,
        rgba(212, 165, 116, 0.7) 70%,
        rgba(125, 63, 38, 0.5) 100%);
    border-radius: 24px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.4;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.empty-state-card:hover::before {
    opacity: 0.9;
    padding: 2px;
}

.empty-state-card:hover {
    background: rgba(5, 5, 5, 0.92);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(174, 113, 58, 0.3);
}

/* Icon Wrapper - Flat Design */
.empty-state-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: rgba(10, 9, 8, 0.6);
    border: 1px solid rgba(168, 107, 62, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.empty-state-card:hover .empty-state-icon-wrapper {
    background: rgba(10, 9, 8, 0.8);
    border-color: rgba(212, 165, 116, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.empty-state-icon {
    stroke: rgba(212, 165, 116, 0.7);
    transition: all 0.3s ease;
}

.empty-state-card:hover .empty-state-icon {
    stroke: #f2cf7b;
    filter: drop-shadow(0 0 10px rgba(242, 207, 123, 0.3));
}

.empty-state-title {
    font-size: 32px;
    font-weight: 800;
    color: rgba(244, 241, 234, 0.95);
    margin-bottom: 16px;
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.empty-state-text {
    font-size: 16px;
    color: rgba(196, 181, 160, 0.7);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* CTA Section */
.empty-state-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #f2cf7b;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.empty-state-cta svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.empty-state-card:hover .empty-state-cta {
    transform: translateX(4px);
}

.empty-state-card:hover .empty-state-cta svg {
    transform: scale(1.1);
}

/* Modal Overlay - Matching Recipe Wizard Style */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container - Matching Recipe Wizard Style */
.modal-container {
    background: rgba(15, 12, 10, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(242, 207, 123, 0.1);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-container.modal-small {
    max-width: 500px;
}

.modal-container.modal-wizard {
    max-width: 800px;
}

/* Remove gradient border */
.modal-container::before {
    display: none;
}

/* Modal Header - Matching Recipe Wizard Style */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(242, 207, 123, 0.03) 0%, transparent 100%);
    flex-shrink: 0;
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #E8DCC4;
    letter-spacing: -0.3px;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9B8B7E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(242, 207, 123, 0.1);
    border-color: #f2cf7b;
    color: #f2cf7b;
    transform: rotate(90deg);
}

.modal-close svg {
    stroke: currentColor;
    width: 20px;
    height: 20px;
}

.modal-close:hover svg {
    stroke: currentColor;
}

/* Wizard Progress - Matching Recipe Wizard Style */
.wizard-progress {
    padding: 24px 40px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(242, 207, 123, 0.02) 0%, transparent 100%);
    flex-shrink: 0;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #f2cf7b 0%, #d29658 70%, #7d3f26 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #9B8B7E;
    transition: all 0.4s ease;
    position: absolute;
    top: 0;
    opacity: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
}

.step-icon svg {
    stroke: #9B8B7E;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(155, 139, 126, 0.6);
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Active Step - Matching Recipe Wizard Style */
.wizard-step.active .step-number {
    opacity: 0;
    transform: scale(0.8);
}

.wizard-step.active .step-icon {
    opacity: 1;
    background: linear-gradient(135deg, #f2cf7b 0%, #d29658 70%, #7d3f26 100%);
    border-color: #f2cf7b;
    box-shadow: 0 4px 16px rgba(242, 207, 123, 0.4);
    transform: scale(1.1);
}

.wizard-step.active .step-icon svg {
    stroke: #0a0a0a;
}

.wizard-step.active .step-label {
    color: #f2cf7b;
    font-weight: 700;
}

/* Completed Step - Matching Recipe Wizard Style */
.wizard-step.completed .step-number {
    background: rgba(242, 207, 123, 0.15);
    border-color: #d29658;
    color: #d29658;
}

.wizard-step.completed .step-label {
    color: rgba(210, 150, 88, 0.8);
}

/* Modal Form - Matching Recipe Wizard Style */
.modal-form {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Wizard Content - Matching Recipe Wizard Style */
.wizard-content {
    padding: 32px 40px;
    flex: 1;
    overflow-y: auto;
    position: relative;
}

/* Wizard Step Content */
.wizard-step-content {
    display: none;
    animation: fadeInSlide 0.5s ease;
}

.wizard-step-content.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step Intro - Matching Recipe Wizard Style */
.step-intro {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step-intro-icon {
    display: none;
}

.step-intro-icon svg {
    display: none;
}

.step-intro-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #E8DCC4;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.step-intro-description {
    font-size: 15px;
    color: #9B8B7E;
    font-weight: 500;
    line-height: 1.6;
}

/* Form Hint */
.form-hint {
    font-size: 12px;
    color: rgba(196, 181, 160, 0.5);
    margin-top: 6px;
    display: block;
}

/* Large Input */
.form-input-large {
    font-size: 18px;
    padding: 18px 20px;
    text-align: center;
}

/* Wizard Navigation - Matching Recipe Wizard Style */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(242, 207, 123, 0.02) 100%);
}

.btn-wizard {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-prev {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9B8B7E;
}

.btn-prev:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(242, 207, 123, 0.3);
    color: #E8DCC4;
    transform: translateX(-2px);
}

.btn-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-next,
.btn-complete {
    background: linear-gradient(135deg, #f2cf7b 0%, #d29658 70%, #7d3f26 100%);
    border: none;
    color: #0a0a0a;
    margin-left: auto;
    box-shadow: 0 4px 16px rgba(242, 207, 123, 0.3);
}

.btn-next:hover,
.btn-complete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 207, 123, 0.4);
}

.btn-complete:hover {
    transform: translateY(-2px);
}

/* Custom Scrollbar for Modal - Matching Recipe Wizard Style */
.modal-form::-webkit-scrollbar,
.wizard-content::-webkit-scrollbar {
    width: 8px;
}

.modal-form::-webkit-scrollbar-track,
.wizard-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.modal-form::-webkit-scrollbar-thumb,
.wizard-content::-webkit-scrollbar-thumb {
    background: rgba(242, 207, 123, 0.2);
    border-radius: 4px;
}

.modal-form::-webkit-scrollbar-thumb:hover,
.wizard-content::-webkit-scrollbar-thumb:hover {
    background: rgba(242, 207, 123, 0.3);
}

/* Form Section */
.form-section {
    margin-bottom: 40px;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-icon {
    stroke: #f2cf7b;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #E8DCC4;
    letter-spacing: -0.3px;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* Form Group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: #9B8B7E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Input - Matching Recipe Wizard Style */
.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #E8DCC4;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(155, 139, 126, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: rgba(242, 207, 123, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(242, 207, 123, 0.1);
}

/* Form Select */
/* Custom Dropdown Container */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-trigger {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #E8DCC4;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-dropdown-trigger::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #9B8B7E;
    transition: all 0.3s ease;
}

.custom-dropdown.open .custom-dropdown-trigger::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #f2cf7b;
}

.custom-dropdown-trigger:hover {
    border-color: rgba(242, 207, 123, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.custom-dropdown.open .custom-dropdown-trigger {
    border-color: rgba(242, 207, 123, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(242, 207, 123, 0.1);
}

.custom-dropdown-trigger .placeholder {
    color: rgba(155, 139, 126, 0.5);
}

.custom-dropdown-menu {
    position: fixed;
    max-height: 280px;
    overflow-y: auto;
    background: rgba(15, 12, 10, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(242, 207, 123, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10000;
}

.custom-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.custom-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(242, 207, 123, 0.2);
    border-radius: 10px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(242, 207, 123, 0.3);
}

.custom-dropdown-option {
    padding: 12px 16px;
    color: #E8DCC4;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-dropdown-option:hover {
    background: rgba(242, 207, 123, 0.1);
    color: #f2cf7b;
}

.custom-dropdown-option.selected {
    background: rgba(242, 207, 123, 0.15);
    color: #f2cf7b;
    font-weight: 600;
}

.custom-dropdown-option.custom-option {
    color: #f2cf7b;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-dropdown-option.custom-option:hover {
    background: rgba(242, 207, 123, 0.15);
    color: #f2cf7b;
}

/* Old select styles (kept for fallback) - Matching Recipe Wizard Style */
.form-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #E8DCC4;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    display: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(212,165,116,0.7)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-select:focus {
    outline: none;
    border-color: rgba(242, 207, 123, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(242, 207, 123, 0.1);
}

.form-select option {
    background: rgba(15, 12, 10, 0.95);
    color: #E8DCC4;
    padding: 12px;
}

/* Custom Select with Add Option */
.form-select.custom-select option[value="custom"] {
    color: #f2cf7b;
    font-weight: 600;
}

/* Modal Actions - Matching Recipe Wizard Style */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(242, 207, 123, 0.02) 100%);
}

/* Buttons - Matching Recipe Wizard Style */
.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f2cf7b 0%, #d29658 70%, #7d3f26 100%);
    color: #0a0a0a;
    box-shadow: 0 4px 16px rgba(242, 207, 123, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 207, 123, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #9B8B7E;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(242, 207, 123, 0.3);
    color: #E8DCC4;
    transform: translateY(-2px);
}

/* ==========================================
   MOBILE RESPONSIVE DESIGN
   ========================================== */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    /* Page Header - Mobile */
    .page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 24px;
        padding: 0;
    }

    .page-header-content h1.page-title {
        font-size: 26px;
        letter-spacing: -0.5px;
    }

    .page-subtitle {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Add Equipment Button - Mobile */
    .btn-wrapper {
        width: 100%;
    }

    .btn-wrapper::before {
        display: none; /* Hide ripple effect on mobile */
    }

    .btn-add-equipment {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 14px;
    }

    .btn-add-equipment::after {
        display: none;
    }

    .btn-add-equipment:hover {
        transform: none;
    }

    .btn-add-equipment:active {
        transform: scale(0.98);
        background: rgba(5, 5, 5, 0.95);
    }

    /* Equipment Grid - Mobile */
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Equipment Card - Mobile */
    .equipment-card {
        padding: 20px;
        border-radius: 18px;
    }

    .equipment-card:hover {
        transform: none;
    }

    .equipment-card:active {
        transform: scale(0.99);
        background: rgba(5, 5, 5, 0.95);
    }

    .equipment-card-header {
        margin-bottom: 16px;
    }

    .equipment-card-title {
        font-size: 18px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .default-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .equipment-action-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .equipment-action-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Equipment Details - Mobile */
    .equipment-card-content {
        gap: 16px;
    }

    .equipment-section {
        gap: 10px;
    }

    .equipment-section-title {
        font-size: 11px;
    }

    .equipment-details {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .equipment-detail-label {
        font-size: 10px;
    }

    .equipment-detail-value {
        font-size: 13px;
    }

    /* Equipment Card Footer - Mobile */
    .equipment-card-footer {
        margin-top: 16px;
        padding-top: 16px;
    }

    .default-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Empty State - Mobile */
    .empty-state {
        padding: 24px 16px;
    }

    .empty-state-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .empty-state-card:hover {
        transform: none;
    }

    .empty-state-card:active {
        transform: scale(0.99);
    }

    .empty-state-icon-wrapper {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
        border-radius: 16px;
    }

    .empty-state-icon {
        width: 40px;
        height: 40px;
    }

    .empty-state-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .empty-state-text {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .empty-state-cta {
        font-size: 14px;
    }

    /* Modal Overlay - Mobile Full Screen */
    .modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .modal-container {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .modal-container.modal-wizard,
    .modal-container.modal-small {
        max-width: 100%;
    }

    /* Modal Header - Mobile */
    .modal-header {
        padding: 16px 16px 12px;
        padding-top: calc(16px + env(safe-area-inset-top, 0));
    }

    .modal-title {
        font-size: 18px;
    }

    .modal-close {
        top: calc(12px + env(safe-area-inset-top, 0));
        right: 12px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }

    /* Wizard Progress - Mobile */
    .wizard-progress {
        padding: 16px 16px 20px;
    }

    .progress-bar {
        margin-bottom: 16px;
    }

    .wizard-steps {
        gap: 4px;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .wizard-steps::-webkit-scrollbar {
        display: none;
    }

    .wizard-step {
        gap: 4px;
        min-width: 56px;
        flex-shrink: 0;
    }

    .step-number,
    .step-icon {
        width: 28px;
        height: 28px;
    }

    .step-number {
        font-size: 11px;
    }

    .step-icon svg {
        width: 14px;
        height: 14px;
    }

    .step-label {
        font-size: 9px;
        margin-top: 34px;
        white-space: nowrap;
    }

    .wizard-step.active .step-icon {
        transform: scale(1.05);
    }

    /* Wizard Content - Mobile */
    .wizard-content {
        padding: 20px 16px;
    }

    /* Step Intro - Mobile */
    .step-intro {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .step-intro-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .step-intro-icon svg {
        width: 28px;
        height: 28px;
    }

    .step-intro-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .step-intro-description {
        font-size: 13px;
    }

    /* Form Elements - Mobile */
    .form-section {
        margin-bottom: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }

    .form-group {
        gap: 6px;
    }

    .form-label {
        font-size: 11px;
    }

    .form-input,
    .form-select,
    .custom-dropdown-trigger {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 10px;
        min-height: 48px; /* Better touch target */
    }

    .form-input-large {
        font-size: 16px;
        padding: 14px 16px;
    }

    .form-hint {
        font-size: 11px;
    }

    /* Custom Dropdown - Mobile */
    .custom-dropdown-menu {
        max-height: 200px;
        border-radius: 10px;
    }

    .custom-dropdown-option {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Wizard Navigation - Mobile */
    .wizard-navigation {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
        gap: 12px;
        flex-direction: row;
    }

    .btn-wizard {
        flex: 1;
        justify-content: center;
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 12px;
        min-height: 48px;
    }

    .btn-prev span,
    .btn-next span,
    .btn-complete span {
        display: none;
    }

    .btn-prev svg,
    .btn-next svg,
    .btn-complete svg {
        margin: 0;
        width: 20px;
        height: 20px;
    }

    /* Modal Actions - Mobile */
    .modal-actions {
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
        gap: 10px;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 12px;
        min-height: 48px;
    }
}

/* Extra Small Screens */
@media (max-width: 380px) {
    .page-header-content h1.page-title {
        font-size: 22px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .btn-add-equipment {
        padding: 12px 16px;
        font-size: 13px;
    }

    .equipment-card {
        padding: 16px;
    }

    .equipment-card-title {
        font-size: 16px;
    }

    .equipment-details {
        grid-template-columns: 1fr;
    }

    .empty-state-card {
        padding: 24px 20px;
    }

    .empty-state-title {
        font-size: 20px;
    }

    .empty-state-text {
        font-size: 13px;
    }

    .step-intro-title {
        font-size: 18px;
    }

    .wizard-step {
        min-width: 50px;
    }

    .step-label {
        font-size: 8px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

