﻿/* กล่องการ์ดพรีเมี่ยมแบบเงาฟุ้งลอยตัว (Soft Shadow) */
.premium-card {
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}
/* แถบไล่เฉดสีแบรนด์ระดับหรู */
.brand-accent {
    height: 8px;
    background: linear-gradient(to right, #10b981, #0d9488);
}
/* ปรับดีไซน์ปุ่มเข้าใช้ด้วย ThaID ให้เนียนตา */
.btn-premium-thaid {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background-color: #ffffff;
    color: #334155;
    padding: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

    .btn-premium-thaid:hover {
        border-color: #cbd5e1;
        background-color: #f8fafc;
        color: #1e293b;
        transform: translateY(-2px);
    }
/* สัญลักษณ์ ThaID */
.thaid-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: #e11d48;
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}
/* ปรับแต่งความโค้งมนและเอฟเฟกต์ Input */
.premium-input-group {
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

    .premium-input-group .input-group-text {
        background-color: #ffffff;
        border-color: #e2e8f0;
        color: #94a3b8;
        padding-left: 1.25rem;
    }

    .premium-input-group .form-control {
        border-color: #e2e8f0;
        color: #1e293b;
        font-size: 1.05rem;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
        letter-spacing: 0.05em;
    }

        .premium-input-group .form-control:focus {
            border-color: #10b981;
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
        }
/* ปุ่มส่งข้อมูลตรวจสอบแบบโมเดิร์น */
.btn-premium-submit {
    background-color: #059669;
    color: #ffffff;
    border: none;
    border-radius: 1rem;
    padding: 1rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

    .btn-premium-submit:hover, .btn-premium-submit:focus {
        background-color: #047857;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    }
/* ปรับแต่งหน้าตาตัว Modal ให้ดูพรีเมี่ยม */
.premium-modal .modal-content {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.premium-modal-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem 1.5rem 1rem;
}

.premium-modal-body {
    padding: 1.5rem;
}

.premium-modal-footer {
    border-top: 1px solid #f1f5f9;
    background-color: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}
/* การ์ดข้อมูลด้านใน Modal */
.info-card-green {
    background-color: #f0fdf4;
    border-left: 4px solid #10b981;
    border-radius: 1rem;
    padding: 1.25rem;
}

.info-card-blue {
    background-color: #f0f9ff;
    border-left: 4px solid #0284c7;
    border-radius: 1rem;
    padding: 1.25rem;
}
/* ลิงก์นโยบายความเป็นส่วนตัว */
.btn-policy-link {
    color: #64748b;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

    .btn-policy-link:hover {
        color: #059669;
        border-color: #10b981;
        background-color: #f0fdf4;
        transform: translateY(-1px);
    }
/* ไอคอนหน้าแรกสุดหรู */
.mortarboard-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: #ecfdf5;
    color: #059669;
    margin-bottom: 1.25rem;
}
/* แถบคั่นแยกประเภท (Or Divider) */
.divider-container {
    display: flex;
    align-items: center;
    margin: 1.75rem 0;
}

.divider-line {
    flex-grow: 1;
    border-top: 1px solid #e2e8f0;
}

.divider-text {
    padding: 0 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* ระบบแจ้งเตือนลอยตัวทดแทน Alert */
.premium-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1060;
    background-color: #1e293b;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
}

    .premium-toast.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
