/* sales-login
   สไตล์เฉพาะหน้านี้ — ย้ายออกมาจาก <style> เดิมแบบคำต่อคำ
   โหลดหลัง app.css จึงประกาศทับตัวแปร/ค่ากลางได้ตามเดิม
 */

body { font-family: 'Kanit', sans-serif; background-color: #eafaf1; display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0; padding: 20px; box-sizing: border-box; }
.login-container { width: 100%; max-width: 450px; background: #ffffff; padding: 40px 30px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(39, 174, 96, 0.1); }
.brand-icon { text-align: center; font-size: 55px; color: #27ae60; margin-bottom: 12px; text-shadow: 0 8px 12px rgba(39, 174, 96, 0.2); }
h2 { text-align: center; color: #2c3e50; margin-top: 0; font-weight: 600; margin-bottom: 5px; }
h5 { text-align: center; color: #7f8c8d; margin-top: 0; margin-bottom: 30px; font-weight: 400; }
.input-group { margin-bottom: 22px; position: relative; }
.input-group label { display: block; font-weight: 600; color: #444; margin-bottom: 8px; font-size: 14px; }
.input-group i { position: absolute; bottom: 14px; left: 15px; color: #27ae60; font-size: 16px; }
input { width: 100%; padding: 12px 12px 12px 42px; border: 2px solid #e0e0e0; border-radius: 10px; box-sizing: border-box; font-size: 15px; font-family: 'Kanit', sans-serif; background-color: #f9f9f9; transition: all 0.3s ease; }
input:focus { outline: none; border-color: #2ecc71; background-color: #fff; box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.2); }

button.btn-login { background: linear-gradient(145deg, #2ecc71, #27ae60); color: white; padding: 14px; border: none; border-radius: 10px; cursor: pointer; width: 100%; font-size: 16px; font-weight: 600; font-family: 'Kanit', sans-serif; transition: all 0.2s ease; box-shadow: 0 5px 0 #1e8449, 0 8px 12px rgba(0,0,0,0.15); margin-top: 10px; }
button.btn-login:active { transform: translateY(5px); box-shadow: 0 0px 0 #1e8449; }
button i { margin-right: 8px; }

/* สไตล์ปุ่มติดตั้ง */
button.btn-install { 
    display: none; 
    background: #ffffff; 
    color: #2980b9; 
    padding: 12px; 
    border: 2px dashed #3498db; 
    border-radius: 10px; 
    cursor: pointer; 
    width: 100%; 
    font-size: 15px; 
    font-weight: 600; 
    font-family: 'Kanit', sans-serif; 
    transition: all 0.2s ease; 
    margin-top: 15px; 
}
button.btn-install:hover { background: #ebf5fb; }
button.btn-install:active { transform: scale(0.98); }

/* สไตล์คำแนะนำติดตั้งบน iOS */
.ios-install-guide {
    display: none;
    background-color: #f0f7ff;
    border: 1px solid #b3d7ff;
    color: #1a3c63;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.ios-install-guide i {
    color: #007aff;
    margin-right: 4px;
}

.footer-text { text-align: center; margin-top: 25px; color: #b2babb; font-size: 13px; }
