/* Stepper Component - Number Input with +/- buttons */
.stepper-container {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-color);
    height: 56px;
}

.stepper-btn {
    width: 56px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.2rem;
}

.stepper-btn:hover {
    background-color: var(--bg-color);
}

.stepper-btn:active {
    background-color: #e7e5e4;
}

.stepper-btn.increment {
    color: var(--primary-color);
    border-left: 1px solid var(--border-color);
}

.stepper-btn.decrement {
    border-right: 1px solid var(--border-color);
}

.stepper-input {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0 8px;
    min-width: 0;
}

/* Remove number input spinners */
.stepper-input::-webkit-inner-spin-button,
.stepper-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stepper-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Global: Remove ALL number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Card Header Styles */
.card-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, #d1fae5 100%);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text);
}

.card-header-icon {
    color: var(--primary-color);
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 48px;
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s;
}

.input-with-icon input:focus+.input-icon {
    color: var(--primary-color);
}

/* Mobile stepper adjustments - FORCE FULL WIDTH AND VISIBILITY */
@media (max-width: 900px) {
    .stepper-container {
        max-width: none !important;
        width: 100% !important;
        height: 48px !important;
        /* Slightly smaller height for mobile */
    }

    .stepper-input {
        width: 100% !important;
        min-width: 60px !important;
        padding: 0 8px !important;
        font-size: 1rem !important;
    }

    .stepper-btn {
        width: 40px !important;
        font-size: 1.2rem !important;
    }
}