/* Promo code modal */
#promoCodeModal .modal-header .modal-title {
    margin-left: 12px;
}

.promo-code-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-code-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.promo-code-row .mb-3 {
    flex: 1;
    margin-bottom: 0;
}

.promo-code-input {
    height: 48px;
    border-radius: 12px;
    border: none;
    background-color: #f3f4f6;
    color: #ef277c;
    text-align: center;
    line-height: 48px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.4);
    font-size: 18px;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.promo-code-input:focus {
    border: none;
    box-shadow:
        inset 0 0 0 1px rgba(148, 163, 184, 0.6),
        0 0 0 2px rgba(148, 163, 184, 0.25);
    background-color: #eef1f6;
    color: #ef277c;
}

.promo-code-input::placeholder {
    color: #cccccc;
    opacity: 1;
    text-align: center;
    font-size: 16px;
}

.promo-code-input:focus::placeholder {
    color: #cccccc;
}

.promo-code-input-error {
    box-shadow:
        inset 0 0 0 1px rgba(220, 38, 38, 0.9),
        0 0 0 2px rgba(220, 38, 38, 0.9);
    background-color: #fef2f2;
    color: rgba(220, 38, 38, 0.9);
}

.promo-code-input-error:focus {
    box-shadow:
        inset 0 0 0 1px rgba(220, 38, 38, 0.9),
        0 0 0 2px rgba(220, 38, 38, 0.45);
    background-color: #fef2f2;
    color: rgba(220, 38, 38, 0.9);
}

.promo-code-input-success {
    box-shadow:
        inset 0 0 0 1px rgba(22, 163, 74, 0.9),
        0 0 0 2px rgba(22, 163, 74, 0.4);
    background-color: #ecfdf3;
    color: #16a34a;
}

.promo-code-input-success:focus {
    box-shadow:
        inset 0 0 0 1px rgba(22, 163, 74, 0.9),
        0 0 0 2px rgba(22, 163, 74, 0.4);
    background-color: #ecfdf3;
    color: #16a34a;
}

.promo-code-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    line-height: 0;
}

.promo-code-submit:hover {
    color: transparent;
    background-color: transparent;
    border-color: transparent;
}

.promo-code-submit:active {
    color: transparent;
    background-color: rgba(148, 163, 184, 0.35);
    border-color: transparent;
}

.promo-code-submit img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.30);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
}

.promo-code-submit-success img {
    filter: hue-rotate(75deg) saturate(1.6) brightness(1.05);
}

.promo-code-submit:hover img {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.40);
    filter: brightness(1.05);
}

.promo-code-submit:active img {
    transform: scale(0.94);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.50);
}

.promo-code-message {
    font-size: 14px;
    min-height: 18px;
}
