/* Container */
.giftcode-widget {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.giftcode-widget h1 {
    text-align: center;
    color: #000000;
    margin-bottom: 15px;
}

.giftcode-widget h1 strong {
    color: #f99b1c;
}

.giftcode-widget p {
    text-align: left;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 10px;
}

.giftcode-widget .highlight {
    color: #f99b1c;
    font-weight: bold;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 600px;
}

/* Button */
.giftcode-button {
    font-size: 16px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.giftcode-button-checkin {
    background: #ff9800;
}

.giftcode-button:hover {
    background: #218838;
    transform: scale(1.05);
}

.giftcode-button-checkin:hover {
    background: #e68900;
}

.giftcode-button:active {
    transform: scale(0.95);
}

.giftcode-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.giftcode-button.with-code {
    position: relative;
    padding-right: 45px;
    text-align: center;
}

.copy-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

/* Error Message */
.giftcode-error {
    color: #dc3545;
    margin-top: 10px;
    display: none;
    text-align: center;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 480px) {
    .button-group {
        gap: 5px;
    }

    .giftcode-button {
        font-size: 13px;
        padding: 10px 12px;
    }

    .copy-icon {
        font-size: 14px;
        right: 8px;
    }

    .giftcode-widget h1 {
        font-size: 20px;
    }

    .giftcode-widget p {
        font-size: 14px;
    }
}
