/* 1. Global Reset - แก้ปัญหาช่องว่างขาวๆ รอบเว็บ และทำให้ Header ชิดขอบจอ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand: #0ea5a4;
    --brand-600: #089e9c;
    --brand-light: #f0fdfa; 
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #1f2937;
    line-height: 1.6;
    background-color: #f9fafb; /* พื้นหลังเทาอ่อนช่วยให้ Card สีขาวดูเด่นขึ้น */
    margin: 0 !important;      /* บังคับชิดขอบจอ */
    padding: 0 !important;
}

html {
    scroll-behavior: smooth;
}

/* --- Brand Utilities --- */
.text-brand { color: var(--brand); }
.bg-brand { background-color: var(--brand); }
.bg-brand-light { background-color: var(--brand-light); }
.border-brand { border-color: var(--brand); }
.hover-bg-brand:hover { background-color: var(--brand-600); }

/* --- Hero & Header Section --- */
.hero-overlay {
    background: linear-gradient(135deg, 
                rgba(14, 165, 164, 0.98) 0%, 
                rgba(43, 107, 255, 0.85) 100%);
}

/* --- Image & Card Components --- */
.image-full {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1rem;
    transition: var(--transition);
}

.card-img-wrapper {
    background-color: #f8fafc;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

/* --- Hover Effects --- */
.hover-card-effect {
    transition: var(--transition);
}

.hover-card-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hover-card-effect:hover .card-img-wrapper {
    background-color: var(--brand-light);
    box-shadow: 0 10px 20px rgba(14, 165, 164, 0.1);
}

.hover-card-effect:hover .image-full {
    transform: scale(1.05);
}

/* --- Specific for Registration & Submissions --- */
.bank-details-card {
    background: #0f172a;
    border-left: 6px solid var(--brand);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

.date-card {
    border-left: 12px solid var(--brand);
    background: white;
    transition: var(--transition);
}

.date-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Remark Numbers (วงกลมตัวเลขในหน้า Registration) */
.remark-number {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: var(--brand-light);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}