/* ==========================================================
   ระบบรับฟังความคิดเห็น
========================================================== */

/* ==========================================================
   Theme
========================================================== */

:root{

    --primary:#1E88E5;

    --primary-dark:#1565C0;

    --background:#F5F9FD;

    --card:#FFFFFF;

    --border:#DCEEFF;

    --text:#263238;

    --sub:#546E7A;

    --credit:#90A4AE;

    --shadow:
        0 12px 32px rgba(30,136,229,.08);

}

/* ==========================================================
   Reset
========================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    width:100%;

    height:100%;

    margin:0;

    padding:0;

    overflow-x:hidden;

    overflow-y:auto;

    -webkit-text-size-adjust:100%;

    scroll-behavior:smooth;

}

body{

    width:100%;

    min-height:100%;

    margin:0;

    padding:0;

    overflow:visible;

    font-family:'Prompt',sans-serif;

    color:var(--text);

    background:
        linear-gradient(
            180deg,
            #F8FCFF 0%,
            #EEF7FF 45%,
            #FFFFFF 100%
        );

}

/* ==========================================================
   App
========================================================== */

#app{

    width:100%;

    max-width:1000px;

    margin:0 auto;

}

/* ==========================================================
   Layout
========================================================== */

.background{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

    position:relative;

    box-sizing:border-box;

    overflow:hidden;

}

.background::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    border-radius:50%;

    background:rgba(66,165,245,.05);

    top:-140px;

    left:-120px;

    opacity:.7;

    pointer-events:none;

}

.background::after{

    content:"";

    position:absolute;

    width:240px;

    height:240px;

    border-radius:50%;

    background:rgba(30,136,229,.04);

    bottom:-90px;

    right:-90px;

    opacity:.7;

    pointer-events:none;

}

/* ==========================================================
   Pages
========================================================== */

#welcomePage,
#categoryPage,
#locationPage,
#detailPage,
#reviewPage,
#successPage{

    width:100%;

}

#welcomePage{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}

#categoryPage,
#locationPage,
#detailPage,
#reviewPage,
#successPage{

    width:100%;

    display:none;

    padding-top:36px;

    padding-bottom:36px;

}

/* ==========================================================
   Card
========================================================== */

.page-card{

    width:100%;

    max-width:520px;

    margin:0 auto;

    background:#FFFFFF;

    border:1px solid var(--border);

    border-radius:22px;

    box-shadow:var(--shadow);

    position:relative;

    z-index:2;

    text-align:center;

    padding:28px 24px;

    animation:none;

}

/* ==========================================================
   Logo
========================================================== */

.logo{

    width:100px;

    display:block;

    margin:0 auto 14px;

    object-fit:contain;

    animation:fadeDown .45s ease;

}

/* ==========================================================
   Typography
========================================================== */

h1{

    font-size:29px;

    font-weight:700;

    color:var(--primary-dark);

    line-height:1.30;

    margin-bottom:4px;

}

h2{

    font-size:20px;

    font-weight:600;

    color:#37474F;

    line-height:1.35;

    margin-bottom:8px;

}

p{

    max-width:320px;

    margin:0 auto 18px;

    color:var(--sub);

    font-size:16px;

    line-height:1.55;

}

/* ==========================================================
   Button
========================================================== */

button{

    width:100%;

    height:56px;

    border:none;

    border-radius:16px;

    background:linear-gradient(
        90deg,
        #42A5F5,
        #1E88E5
    );

    color:#FFFFFF;

    font-family:'Prompt',sans-serif;

    font-size:18px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

    box-shadow:
        0 8px 22px rgba(30,136,229,.18);

}

button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 28px rgba(30,136,229,.22);

}

button:active{

    transform:scale(.98);

}

button:focus{

    outline:none;

}

button:disabled{

    background:#CFD8DC;

    color:#78909C;

    box-shadow:none;

    cursor:not-allowed;

    transform:none;

    opacity:.85;

}

/* ==========================================================
   Privacy
========================================================== */

.privacy{

    margin-top:20px;

    padding:14px 0;

    border-top:1px solid #EEF5FD;

    border-bottom:1px solid #EEF5FD;

    color:var(--sub);

    font-size:14px;

    line-height:1.7;

}

/* ==========================================================
   Credit
========================================================== */

.credit{

    margin-top:12px;

    color:var(--credit);

    font-size:11px;

    line-height:1.7;

}

/* ==========================================================
   Animation
========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(18px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

@keyframes fadeDown{

    from{

        opacity:0;

        transform:translateY(-16px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

/* ==========================================================
   Mobile
========================================================== */

@media (max-width:767px){

    .background{

        padding:20px;

    }

    .page-card{

        max-width:430px;

        padding:28px 24px;

        border-radius:20px;

    }

    .logo{

        width:100px;

    }

    h1{

        font-size:29px;

    }

    h2{

        font-size:20px;

    }

    p{

        max-width:300px;

        font-size:16px;

        line-height:1.60;

    }

    button{

        height:56px;

        font-size:18px;

    }

}

/* ==========================================================
   Desktop
========================================================== */

@media (min-width:768px){

    .background{

        padding:40px;

    }

    .page-card{

        max-width:520px;

        padding:36px 34px;

        border-radius:24px;

    }

    .logo{

        width:120px;

    }

    h1{

        font-size:34px;

    }

    h2{

        font-size:22px;

    }

    p{

        max-width:340px;

        font-size:17px;

        line-height:1.70;

    }

    button{

        height:58px;

        font-size:19px;

    }

}

/* ==========================================================
   Step
========================================================== */

.step{

    font-size:13px;

    font-weight:500;

    color:#90A4AE;

    margin-bottom:12px;

}

.step-progress{

    display:flex;

    gap:8px;

    margin-bottom:18px;

}

.step-bar{

    flex:1;

    height:6px;

    background:#E3F2FD;

    border-radius:999px;

}

.step-bar.active{

    background:#1E88E5;

}

/* ==========================================================
   Category
========================================================== */

#categoryContainer{

    display:flex;

    flex-direction:column;

    gap:14px;

    margin-bottom:30px;

}

.category-card{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:16px;

    padding:16px 18px 16px 22px;

    background:#FFFFFF;

    border:2px solid #E6ECF2;

    border-radius:18px;

    cursor:pointer;

    overflow:hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;

}

.category-card:hover{

    border-color:#90CAF9;

    transform:translateY(-2px);

    box-shadow:0 6px 18px rgba(30,136,229,.08);

}

.category-card.selected{

    border-color:#1E88E5;

    transform:translateY(-4px);

    box-shadow:0 12px 28px rgba(30,136,229,.15);

}

/* ==========================================================
   Left Color Bar
========================================================== */

.category-card::before{

    content:"";

    position:absolute;

    left:10px;

    top:12px;

    bottom:12px;

    width:6px;

    border-radius:999px;

    transition:.2s;

}

.category-card.selected::before{

    width:8px;

}

.category-card[data-value="compliment"]::before{

    background:#4CAF50;

}

.category-card[data-value="suggestion"]::before{

    background:#FFC107;

}

.category-card[data-value="complaint"]::before{

    background:#F44336;

}

/* ==========================================================
   Text
========================================================== */

.category-content{

    flex:1;

    padding-left:14px;

    text-align:left;

}

.category-content h3,
.category-content small{

    text-align:left;

    display:block;

}

.category-content h3{

    margin:0;

    font-size:18px;

    font-weight:600;

    color:#37474F;

    line-height:1.3;

}

.category-content small{

    display:block;

    margin-top:3px;

    font-size:14px;

    color:#90A4AE;

    line-height:1.45;

}

/* ==========================================================
   Check
========================================================== */

.checkmark{

    width:32px;

    height:32px;

    border-radius:50%;

    border:2px solid #CFD8DC;

    background:#FFFFFF;

    color:transparent;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:16px;

    font-weight:700;

    flex-shrink:0;

    transition:.2s;

}

.category-card.selected .checkmark{

    background:#1E88E5;

    border-color:#1E88E5;

    color:#FFFFFF;

    transform:scale(1.05);

}

/* ==========================================================
   Category Icon
========================================================== */

.category-content h3{

    display:flex;

    align-items:center;

    gap:8px;

}

.category-content h3{

    line-height:1.35;

}

.category-card:hover{

    border-color:#64B5F6;

    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(30,136,229,.10);

}

.category-card.selected{

    border-color:#1E88E5;

    background:#FFFFFF;

    transform:translateY(-3px);

    box-shadow:
        0 12px 28px rgba(30,136,229,.16);

}

.category-card.selected::before{

    width:8px;

}

.checkmark{

    width:30px;

    height:30px;

    font-size:15px;

}

.category-content small{

    margin-top:2px;

    line-height:1.40;

}

#categoryContainer{

    gap:16px;

    margin-bottom:32px;

}

/* ==========================================================
   Location Page
========================================================== */

#locationPage .form-group{

    margin-bottom:18px;

    text-align:left;

}

#locationPage label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#546E7A;

}

#locationPage select,

#locationPage input{

    width:100%;

    height:52px;

    padding:0 16px;

    border:2px solid #E3F2FD;

    border-radius:14px;

    background:#FFFFFF;

    font-family:'Prompt',sans-serif;

    font-size:15px;

    transition:.2s;

}

#locationPage select:focus,

#locationPage input:focus{

    outline:none;

    border-color:#42A5F5;

    box-shadow:0 0 0 4px rgba(66,165,245,.15);

}

#departmentContainer{

    margin-top:20px;

    display:flex;

    flex-direction:column;

    gap:18px;

    min-height:auto;

}

.floor-group{

    text-align:left;

}

.floor-title{

    margin-bottom:10px;

    font-size:15px;

    font-weight:600;

    color:#607D8B;

}

.department-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    margin-bottom:10px;

    border:2px solid #E6ECF2;

    border-radius:16px;

    background:#FFFFFF;

    cursor:pointer;

    transition:.2s;

}

.department-card:hover{

    border-color:#90CAF9;

    transform:translateY(-2px);

}

.department-card.selected{

    border-color:#1E88E5;

    box-shadow:0 10px 24px rgba(30,136,229,.12);

}

.department-name{

    font-size:16px;

    font-weight:500;

}

.department-check{

    width:28px;

    height:28px;

    border-radius:50%;

    border:2px solid #CFD8DC;

    display:flex;

    justify-content:center;

    align-items:center;

    color:transparent;

    transition:.2s;

}

.department-card.selected .department-check{

    background:#1E88E5;

    border-color:#1E88E5;

    color:#FFFFFF;

}

/* ==========================================================
   Button Group
========================================================== */

.button-group{

    display:flex;

    gap:12px;

    margin-top:10px;

}

.button-group button{

    flex:1;

}

.secondary{

    background:#FFFFFF !important;

    color:#607D8B !important;

    border:2px solid #CFD8DC !important;

    box-shadow:none !important;

}

.secondary:hover{

    border-color:#90CAF9 !important;

    color:#1E88E5 !important;

}

/* ==========================================================
   Loading
========================================================== */

.loading-spinner{

    width:36px;

    height:36px;

    border:4px solid #E3F2FD;

    border-top-color:#1E88E5;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

.loading-text{

    font-size:15px;

    color:#607D8B;

}

.skeleton{

    width:100%;

    height:18px;

    border-radius:10px;

    background:linear-gradient(
        90deg,
        #ECEFF1 25%,
        #F8FAFB 50%,
        #ECEFF1 75%
    );

    background-size:200% 100%;

    animation:skeleton 1.3s infinite;

}

.skeleton1{

    width:100%;

}

.skeleton2{

    width:82%;

}

.skeleton3{

    width:90%;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

@keyframes skeleton{

    from{

        background-position:200% 0;

    }

    to{

        background-position:-200% 0;

    }

}

/* ==========================================================
   Button Spinner
========================================================== */

.button-spinner{

    width:16px;

    height:16px;

    border:2px solid rgba(255,255,255,.35);

    border-top-color:#FFFFFF;

    border-radius:50%;

    display:inline-block;

    margin-right:8px;

    vertical-align:middle;

    animation:buttonSpin .8s linear infinite;

}

@keyframes buttonSpin{

    to{

        transform:rotate(360deg);

    }

}

/* ==========================================================
   Floor Selector
========================================================== */

.floor-selector{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;

    margin-top:12px;

}

.floor-card{

    height:56px;

    display:flex;

    justify-content:center;

    align-items:center;

    border:2px solid #E3F2FD;

    border-radius:16px;

    background:#FFFFFF;

    font-size:16px;

    font-weight:600;

    color:#546E7A;

    cursor:pointer;

    transition:.2s;

    user-select:none;

}

.floor-card:hover{

    border-color:#64B5F6;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(30,136,229,.10);

}

.floor-card.selected{

    background:#1E88E5;

    border-color:#1E88E5;

    color:#FFFFFF;

    box-shadow:0 10px 24px rgba(30,136,229,.18);

}

#floorSection{

    display:none;

}

#departmentSection{

    display:none;

}

/* ==========================================================
   Detail Page
========================================================== */

.summary-card{

    margin:22px 0;

    padding:18px;

    background:#F8FBFF;

    border:2px solid #E3F2FD;

    border-radius:18px;

    transition:.25s;

}

.summary-card.compliment{

    background:#F3FFF5;

    border-color:#A5D6A7;

}

.summary-card.suggestion{

    background:#FFFDF2;

    border-color:#FFE082;

}

.summary-card.complaint{

    background:#FFF5F5;

    border-color:#EF9A9A;

}

.summary-item{

    display:flex;

    flex-direction:column;

    align-items:flex-start !important;

    justify-content:flex-start !important;

    text-align:left !important;

    gap:4px;

    padding:12px 0;

    border-bottom:1px solid #E8EDF5;

}

.summary-item:last-child{

    border-bottom:none;

}

.summary-item span{

    display:block;

    width:100%;

    text-align:left !important;

    font-size:15px;

    font-weight:500;

    color:#64748B;

}

.summary-item strong{

    display:block;

    width:100%;

    text-align:left !important;

    font-size:15px;

    font-weight:600;

    color:#1F2937;

    line-height:1.5;

    word-break:break-word;

}

.summary-item+.summary-item{

    border-top:1px solid #EEF5FD;

}

#detailPage textarea{

    width:100%;

    min-height:180px;

    padding:16px;

    resize:vertical;

    border:2px solid #E3F2FD;

    border-radius:16px;

    background:#FFFFFF;

    font-family:'Prompt',sans-serif;

    font-size:15px;

    line-height:1.7;

    transition:.2s;

}

#detailPage textarea:focus{

    outline:none;

    border-color:#42A5F5;

    box-shadow:0 0 0 4px rgba(66,165,245,.15);

}

.text-counter{

    margin-top:8px;

    text-align:right;

    font-size:13px;

    color:#90A4AE;

}

.upload-card{

    width:100%;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:30px 20px;

    border:2px dashed #90CAF9;

    border-radius:18px;

    background:#FAFDFF;

    cursor:pointer;

    transition:.2s;

}

.upload-card:hover{

    border-color:#1E88E5;

    background:#F5FAFF;

}

.upload-icon{

    font-size:42px;

    line-height:1;

}

.upload-title{

    font-size:16px;

    font-weight:600;

    color:#37474F;

}

.upload-subtitle{

    font-size:13px;

    color:#90A4AE;

    text-align:center;

    line-height:1.6;

}

#imagePreview{

    margin-top:18px;

}

#imagePreview img{

    width:100%;

    border-radius:16px;

    border:2px solid #E3F2FD;

    display:block;

}

/* ==========================================================
   Contact
========================================================== */

.page-section{

    margin-top:28px;

    text-align:left;

}

.section-title{

    margin-bottom:6px;

    font-size:16px;

    font-weight:600;

    color:#37474F;

}

.section-description{

    margin-bottom:16px;

    font-size:14px;

    color:#78909C;

    line-height:1.6;

}

.contact-container{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.contact-card{

    position:relative;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:16px;

    padding:16px 18px 16px 22px;

    background:#FFFFFF;

    border:2px solid #E6ECF2;

    border-radius:18px;

    cursor:pointer;

    overflow:hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;

}

.contact-card::before{

    content:"";

    position:absolute;

    left:10px;

    top:12px;

    bottom:12px;

    width:6px;

    border-radius:999px;

    background:#42A5F5;

    transition:.2s;

}

.contact-card:hover{

    border-color:#90CAF9;

    transform:translateY(-2px);

    box-shadow:0 6px 18px rgba(30,136,229,.08);

}

.contact-card.selected{

    border-color:#1E88E5;

    transform:translateY(-3px);

    box-shadow:0 12px 28px rgba(30,136,229,.16);

}

.contact-card.selected::before{

    width:8px;

}

.contact-card .category-content{

    flex:1;

    padding-left:14px;

    text-align:left;

}

.contact-card .category-content h3{

    margin:0;

    font-size:17px;

    font-weight:600;

    color:#37474F;

}

.contact-card .category-content small{

    display:block;

    margin-top:3px;

    font-size:14px;

    color:#90A4AE;

    line-height:1.45;

}

.contact-card .checkmark{

    width:30px;

    height:30px;

    border-radius:50%;

    border:2px solid #CFD8DC;

    background:#FFFFFF;

    color:transparent;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:15px;

    font-weight:700;

    flex-shrink:0;

    transition:.2s;

}

.contact-card.selected .checkmark{

    background:#1E88E5;

    border-color:#1E88E5;

    color:#FFFFFF;

}

/* ==========================================================
   Review Page
========================================================== */

.review-page-card{

    padding-top:24px;

    padding-bottom:24px;

}

.review-title{

    margin-bottom:6px;

    font-size:24px;

    font-weight:700;

    color:#263238;

}

.review-description{

    max-width:100%;

    margin:0 auto 16px;

    font-size:15px;

    line-height:1.55;

    color:#607D8B;

}

.review-summary-card{

    width:100%;

    padding:20px;

    background:#F8FBFF;

    border:2px solid #E3F2FD;

    border-radius:18px;

    text-align:left;

}

.review-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:7px 14px;

    margin:0 0 14px;

    border-radius:999px;

    font-size:15px;

    font-weight:600;

    color:#37474F;

    background:#FFF8E1;

}

.review-badge.compliment{

    background:#E8F5E9;

    color:#2E7D32;

}

.review-badge.suggestion{

    background:#FFF8E1;

    color:#F9A825;

}

.review-badge.complaint{

    background:#FFEBEE;

    color:#C62828;

}

.review-location{

    margin-bottom:14px;

    font-size:15px;

    font-weight:600;

    line-height:1.55;

    color:#455A64;

    word-break:break-word;

    white-space:pre-line;

}

.review-detail{

    margin-bottom:16px;

    font-size:16px;

    font-weight:400;

    line-height:1.65;

    color:#263238;

    white-space:pre-wrap;

    word-break:break-word;

}

.review-contact{

    font-size:14px;

    font-weight:600;

    line-height:1.5;

    color:#546E7A;

}

.review-contact-detail{

    display:flex;

    gap:12px;

    flex-wrap:wrap;

    margin-top:5px;

    font-size:15px;

    font-weight:500;

    line-height:1.6;

    color:#263238;

}

.review-contact-dot{

    color:#90A4AE;

}

.review-button-group{

    margin-top:18px !important;

}

#reviewBackButton{

    font-size:16px;

}

#submitButton{

    font-size:18px;

    font-weight:700;

}

@media (max-width:480px){

    .review-page-card{

        padding:22px 18px;

    }

    .review-title{

        font-size:22px;

    }

    .review-description{

        margin-bottom:14px;

        font-size:14px;

    }

    .review-summary-card{

        padding:17px;

    }

    .review-location{

        margin-bottom:12px;

        font-size:14px;

    }

    .review-detail{

        margin-bottom:14px;

        font-size:15px;

        line-height:1.6;

    }

    .review-button-group{

        gap:8px;

    }

    #reviewBackButton{

        font-size:14px;

    }

    #submitButton{

        font-size:16px;

    }

}

/* ==========================================
   Loading Overlay
========================================== */

#loadingOverlay{

    position:fixed;

    inset:0;

    background:rgba(255,255,255,.78);

    backdrop-filter:blur(3px);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99999;

}

.loading-card{

    width:260px;

    background:#FFF;

    border-radius:22px;

    padding:28px 24px;

    text-align:center;

    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

.loading-spinner{

    width:52px;

    height:52px;

    margin:auto;

    border:5px solid #E3F2FD;

    border-top-color:#1976D2;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

.loading-title{

    margin-top:18px;

    font-size:18px;

    font-weight:600;

}

.loading-subtitle{

    margin-top:8px;

    color:#78909C;

    font-size:14px;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

.success-icon{

    width:90px;
    height:90px;

    margin:0 auto 30px;

    border-radius:50%;

    background:#43A047;

    color:#FFF;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:52px;
    font-weight:700;

    box-shadow:0 10px 26px rgba(67,160,71,.22);

}

/* ==========================================================
   Success Page
========================================================== */

#successPage .page-card{

    max-width:560px;

    padding:44px 36px 38px;

}

#successPage h2{

    margin-top:20px;

    margin-bottom:18px;

    font-size:30px;

    font-weight:700;

    line-height:1.4;

}

#successPage p{

    max-width:430px;

    margin:0 auto 22px;

    font-size:17px;

    line-height:1.9;

    color:#546E7A;

}

#successPage button{

    margin-top:18px;

}

/* ==========================================================
   Contact Page
========================================================== */

.contact-options{

    display:flex;

    flex-direction:column;

    gap:16px;

    margin:24px 0;

}

.contact-card{

    display:flex;

    align-items:center;

    gap:16px;

    padding:18px;

    border:2px solid #E3F2FD;

    border-radius:18px;

    background:#FFFFFF;

    cursor:pointer;

    transition:.2s;

}

.contact-card:hover{

    border-color:#64B5F6;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(30,136,229,.10);

}

.contact-card.selected{

    border-color:#1E88E5;

    box-shadow:0 10px 24px rgba(30,136,229,.15);

}

.contact-radio{

    width:30px;

    height:30px;

    border-radius:50%;

    border:2px solid #CFD8DC;

    flex-shrink:0;

    position:relative;

    transition:.2s;

}

.contact-card.selected .contact-radio{

    border-color:#1E88E5;

}

.contact-card.selected .contact-radio::after{

    content:"";

    position:absolute;

    width:14px;

    height:14px;

    border-radius:50%;

    background:#1E88E5;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

}

.contact-content{

    flex:1;

    text-align:left;

}

.contact-content h3{

    margin:0;

    font-size:18px;

    font-weight:600;

    color:#37474F;

}

.contact-content small{

    display:block;

    margin-top:4px;

    font-size:14px;

    color:#90A4AE;

    line-height:1.5;

}

#contactForm{

    margin-top:24px;

    text-align:left;

}

#contactForm .form-group{

    margin-bottom:18px;

}

#contactForm label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#546E7A;

}

#contactForm input{

    width:100%;

    height:52px;

    padding:0 16px;

    border:2px solid #E3F2FD;

    border-radius:14px;

    font-family:'Prompt',sans-serif;

    font-size:15px;

}

#contactForm input:focus{

    outline:none;

    border-color:#42A5F5;

    box-shadow:0 0 0 4px rgba(66,165,245,.15);

}

/* ==========================================================
   Validation
========================================================== */

.field-error{

    display:block;

    margin-top:8px;

    color:#D32F2F;

    font-size:.88rem;

    font-weight:500;

}

.input-error{

    border:2px solid #D32F2F !important;

    box-shadow:0 0 0 3px rgba(211,47,47,.12);

}

/* ==========================================
   Input Error
========================================== */

.input-error{

    border:2px solid #D32F2F !important;

    box-shadow:0 0 0 3px rgba(211,47,47,.12);

}

/* ==========================================
   Floor Error
========================================== */

.floor-selector.input-error{

    border:2px solid #D32F2F;

    border-radius:16px;

    padding:10px;

    box-shadow:0 0 0 3px rgba(211,47,47,.12);

}

/* ==========================================
   Image Modal
========================================== */

.image-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

    animation:fadeIn .2s;

}

.image-modal img{

    max-width:92vw;

    max-height:88vh;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

.image-close{

    position:absolute;

    top:18px;

    right:22px;

    color:#fff;

    font-size:34px;

    cursor:pointer;

    user-select:none;

}

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

/* ==========================================================
   Page Entrance Animation
========================================================== */

@keyframes pageEnter {

    from {

        opacity:0;

        transform:translateY(14px);

    }

    to {

        opacity:1;

        transform:translateY(0);

    }

}

.page-enter {

    animation:pageEnter 0.38s ease-out both;

}

@media (prefers-reduced-motion: reduce) {

    .page-enter {

        animation:none;

    }

}

/* ==========================================================
   Success Mascot Animation
========================================================== */

@keyframes successMascotEnter {

    0% {

        opacity: 0;

        transform:
            translateY(14px)
            scale(0.78);

    }

    65% {

        opacity: 1;

        transform:
            translateY(-3px)
            scale(1.04);

    }

    100% {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}

.success-mascot {

    display: block;

    width: 115px;

    height: auto;

    margin: 0 auto 14px;

}

#successPage.page-enter .success-mascot {

    animation:
        successMascotEnter
        0.6s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        0.08s
        both;

}

@media (max-width: 480px) {

    .success-mascot {

        width: 96px;

        margin-bottom: 12px;

    }

}

@media (prefers-reduced-motion: reduce) {

    #successPage.page-enter .success-mascot {

        animation: none;

    }

}

/* ==========================================================
   Card Tap Animation
========================================================== */

.category-card,
.department-card,
.contact-card {

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;

    -webkit-tap-highlight-color: transparent;

}

.category-card:active,
.department-card:active,
.contact-card:active {

    transform:scale(0.97);

}

@media (hover:hover) {

    .category-card:hover,
    .department-card:hover,
    .contact-card:hover {

        transform:translateY(-2px);

    }

}

@media (prefers-reduced-motion: reduce) {

    .category-card,
    .department-card,
    .contact-card {

        transition:none;

    }

    .category-card:active,
    .department-card:active,
    .contact-card:active {

        transform:none;

    }

}

/* ==========================================================
   Review Entrance Animation
========================================================== */

@keyframes reviewItemEnter {

    from {

        opacity:0;

        transform:translateY(10px);

    }

    to {

        opacity:1;

        transform:translateY(0);

    }

}

#reviewPage.page-enter .review-title {

    animation:reviewItemEnter 0.35s ease-out
        0.08s both;

}

#reviewPage.page-enter .review-description {

    animation:reviewItemEnter 0.35s ease-out
        0.14s both;

}

#reviewPage.page-enter .review-summary-card {

    animation:reviewItemEnter 0.4s ease-out
        0.21s both;

}

#reviewPage.page-enter .review-button-group {

    animation:reviewItemEnter 0.4s ease-out
        0.30s both;

}

@media (prefers-reduced-motion: reduce) {

    #reviewPage.page-enter .review-title,
    #reviewPage.page-enter .review-description,
    #reviewPage.page-enter .review-summary-card,
    #reviewPage.page-enter .review-button-group {

        animation:none;

    }

}

/* ==========================================================
   Location Loading Animation
========================================================== */

@keyframes locationSectionEnter {

    from {

        opacity:0;

        transform:translateY(8px);

    }

    to {

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes locationItemEnter {

    from {

        opacity:0;

        transform:translateY(10px)
            scale(0.98);

    }

    to {

        opacity:1;

        transform:translateY(0)
            scale(1);

    }

}

.location-section-enter {

    animation:
        locationSectionEnter
        0.32s
        ease-out
        both;

}

.location-item-enter {

    opacity:0;

    animation:
        locationItemEnter
        0.36s
        ease-out
        var(--item-delay, 0ms)
        both;

}

@media (prefers-reduced-motion: reduce) {

    .location-section-enter,
    .location-item-enter {

        opacity:1;

        animation:none;

        transform:none;

    }

}

/* ==========================================================
   Success Desktop Title Layout
========================================================== */

@media (min-width: 769px) {

    #successPage h2 {

        max-width: 520px;

        margin-left: auto;

        margin-right: auto;

        font-size: 28px;

        line-height: 1.45;

    }

}

/* ==========================================================
   Success Desktop Text Lines
========================================================== */

@media (min-width: 769px) {

    .success-desktop-lines {

        margin-bottom: 22px;

    }

    .success-desktop-lines:last-child {

        margin-bottom: 0;

    }

    .success-desktop-lines span {

        display: block;

        white-space: nowrap;

    }

    .success-contact,
    .success-thank {

        max-width: none;

        width: 100%;

    }

}

/* ==========================================================
   Success Contact Notice
========================================================== */

.success-contact-notice {

    width: fit-content;

    max-width: 90%;

    margin: 22px auto 24px;

    padding: 13px 28px;

    background: #F3F9FF;

    border: 1px solid #D6EBFF;

    border-radius: 14px;

    text-align: center;

}

.success-contact-text {

    width: 100%;

    font-size: 15px;

    line-height: 1.7;

    color: #455A64;

    text-align: center;

}

.success-contact-text span {

    display: block;

}

.success-contact-text strong {

    color: #1565C0;

    font-size: 16px;

    font-weight: 700;

}

@media (max-width: 768px) {

    .success-contact-notice {

        width: 100%;

        padding: 14px 12px;

        margin-bottom: 20px;

        border-left-width: 4px;

    }

    .success-contact-text {

        font-size: 14px;

        line-height: 1.65;

    }

    .success-contact-text strong {

        font-size: 15px;

    }

}

/* ==========================================================
   Success Mobile Text Layout
========================================================== */

@media (max-width: 768px) {

    /* บังคับข้อความ Success แบ่งตามบรรทัดที่กำหนด */
    .success-desktop-lines span {

        display: block;

    }

    /* แบบต้องการติดต่อกลับ
       เว้นระยะก่อนกล่องข้อมูลติดต่อกลับ */
    #successContactBox
    .success-desktop-lines:first-child {

        margin-bottom: 24px;

    }

    /* แบบไม่ต้องการติดต่อกลับ
       เว้นระยะระหว่างข้อความ 2 ชุด */
    #successThankBox
    .success-desktop-lines {

        margin-bottom: 24px;

    }

    #successThankBox
    .success-desktop-lines:last-child {

        margin-bottom: 0;

    }

}

/* ==========================================================
   Category Mascot
========================================================== */

.category-mascot {

    display: block;

    width: 112px;

    height: auto;

    margin: -14px auto 16px;

    animation:
        categoryMascotEnter
        0.55s
        cubic-bezier(0.34, 1.56, 0.64, 1)
        both;

}

@keyframes categoryMascotEnter {

    0% {

        opacity: 0;

        transform:
            translateY(12px)
            scale(0.8);

    }

    70% {

        opacity: 1;

        transform:
            translateY(-2px)
            scale(1.04);

    }

    100% {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}

@media (max-width: 480px) {

    .category-mascot {

        width: 96px;

        margin: -12px auto 14px;

    }

}

@media (prefers-reduced-motion: reduce) {

    .category-mascot {

        animation: none;

    }

}

.field-description{
    display: block;
    margin: 4px 0 10px;
    color: #6B7280;
    font-size: 0.85rem;
    line-height: 1.5;
}