.tasty-button-wrapper {
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

.tasty-button-wrapper.centered {
    display: block;
    text-align: center;
}

.tasty-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: #4169E1; /* Default royal blue color */
    color: white !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    font-size: 17px;
    border: none;
    min-width: 200px;
    white-space:nowrap;
}

.tasty-button.coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
}

.tasty-button.coupon .button-text {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: white;
    font-size: 16px;
    margin-right: 4px;
}

.coupon-container {
    position: relative;
    display: flex;
    align-items: center;
}

.code-display {
    background: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
    min-width: 80px;
    text-align: center;
    position: relative;
    border: 2px dashed rgba(0, 0, 0, 0.15);
    margin-left: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1;
}

.code-display::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 8px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    z-index: -1;
}

.scissors-icon {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.tasty-button.coupon.revealed {
    pointer-events: none;
}

.tasty-button.coupon .code-display {
    background: white;
    color: #333;
    padding: 8px 16px;
    font-family: monospace;
    min-width: 80px;
    text-align: center;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    z-index: 1;
    font-family: "Courier New", Courier, monospace;
}

.tasty-button.coupon .code-display::before {
    content: '';
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    background: #FFA500;
    border-radius: 8px;
    z-index: -2;
}

.tasty-button.coupon .code-display::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border: 1px dashed #000;
    border-radius: 2px;
    z-index: -1;
}

.tasty-button.coupon .scissors {
    position: absolute;
    left: -13px;
    top: 50%;
    transform: translateY(-50%);
    width: 23px; /* Doubled size */
    height: 23px; /* Doubled size */
    z-index: 2;
}

.tasty-button.coupon.revealed .code-display {
    pointer-events: auto;
    cursor: pointer;
}

.tasty-button.coupon.revealed .code-display:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

.tasty-button.coupon .scissors img {
    width: 100%;
    height: 100%;
    display: block;
}

.tasty-copy-feedback {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
}

.tasty-copy-feedback.show {
    opacity: 1;
    visibility: visible;
}

.tasty-copy-feedback.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    0%, 100% { transform: translateX(-50%); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(calc(-50% - 3px)); }
    20%, 40%, 60%, 80% { transform: translateX(calc(-50% + 3px)); }
}