﻿/* ตกแต่งพื้นหลังไล่ระดับสีพรีเมียม */
.bg-gradient-shapes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shape-1 {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(50px);
}

.shape-2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(50px);
}

/* การ์ดสไตล์กระจกฝ้า (Glassmorphism) */
.custom-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

    .custom-card:hover {
        box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08);
        transform: translateY(-2px);
    }

/* ตกแต่งฟิลด์กรอกข้อมูลให้ดูทันสมัย */
.form-control-custom {
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    font-size: 1.15rem;
    letter-spacing: 1px;
    border-color: #e2e8f0;
    transition: all 0.2s ease;
}

    .form-control-custom:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.15);
    }

/* ดีไซน์ปุ่มกดไล่เฉดสี */
.btn-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .btn-gradient:hover {
        background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
        color: white;
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    }

    .btn-gradient:active {
        transform: scale(0.98);
    }

/* เอฟเฟกต์การโหลด Shimmer */
.shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite linear;
}

@keyframes loading-shimmer {
    to {
        background-position: -200% 0;
    }
}

/* อนิเมชันเปิดตัว */
.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
