/* Custom styles to complement DaisyUI */
/* Container for reward details */ 
.reward-container {
       padding: 15px;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 17px;
}

/* Reward Header */
.reward-header {
    font-size: 18px !important;
    font-weight: 500; 
    margin-bottom: 0.7rem;
}

/* Container for Image */
.reward-image-container {
    display: flex; /* ใช้ flexbox เพื่อช่วยในการจัดวางตำแหน่ง */
    justify-content: center; /* จัดวางรูปภาพให้อยู่ตรงกลางในแนวนอน */
    align-items: center; /* จัดวางรูปภาพให้อยู่ตรงกลางในแนวตั้ง */
    border-radius: 10px;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

/* Reward Image */
.reward-image {
    width: 180px; /* ลดขนาดของรูปให้เล็กลง */
    height: auto;
    border-radius: 10px;
}

/* Reward Button */
.reward-button {
    background-color: #ffa500; /* สีส้ม (สีตรงตามตัวอย่าง) */
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.9rem; /* ลดขนาดของ padding ให้ปุ่มเล็กลง */
    font-size: 14px !important; /* ลดขนาดฟอนต์ของปุ่ม */
    font-weight: 400;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reward-button:hover {
    background-color: #ff8c00; /* สีเข้มขึ้นเมื่อวางเมาส์ */
}

.reward-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.5);
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
body {
    font-family: 'Kanit', sans-serif;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://bestcreative.dev/flipfacexjfin/imgs/jfinxflipface.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.7);
    transform: scale(1.1);
    z-index: -1;
}
@media (max-width: 768px) {
    .card {
        margin: 0 auto !important; 
        max-width: 95% !important; 
        box-sizing: border-box;
    }
}
.card {
	    background: rgba(255, 255, 255, 0.95) !important;
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    perspective: 1000px;
}


.card-content {
    transform-style: preserve-3d;
}

.card figure, 
.card-body {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
}

.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}

.input:focus {
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

#couponStatus {
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

#couponStatus[style*="green"] {
    color: #10B981;
}

#couponStatus[style*="red"] {
    color: #EF4444;
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Animation for loading state */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 0.5em;
    vertical-align: middle;
}
.px-6 {
    position: relative; /* Makes figure a positioning context for the badge */
}
.gap-8 {
    gap: 2rem;
    padding-left: 8px;
}