/* css/login.css */

/* Reset & Base */
* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* Bỏ highlight khi tap trên mobile */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #1a1a1a;
}

.app-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

/* --- PHẦN LOGO MỚI --- */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.app-logo {
    max-width: 180px; /* Giới hạn chiều rộng để không bị vỡ giao diện */
    height: auto;     /* Giữ tỷ lệ ảnh */
    display: inline-block;
}
/* -------------------- */

.header {
    margin-bottom: 30px;
    text-align: center; /* Căn giữa text chào mừng cho cân đối với Logo */
}

.header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0066FF;
    margin: 0 0 8px 0;
}

.header p {
    font-size: 15px;
    color: #8e8e93;
    line-height: 1.4;
}

/* ... (Giữ nguyên phần Form, Input, Button cũ) ... */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; margin-left: 4px; }

.form-control {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    font-size: 16px;
    background-color: #F2F2F7;
    border: 2px solid transparent;
    border-radius: 16px;
    color: #000;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: #0066FF;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.btn-login {
    width: 100%;
    height: 56px;
    background: #0066FF;
    color: white;
    border: none;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
    transition: transform 0.1s, box-shadow 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ... (Giữ nguyên phần còn lại) ... */
.btn-login:active { transform: scale(0.96); box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2); }
.btn-login:disabled { background-color: #E5E5EA; color: #AEAEB2; box-shadow: none; }
#message-box { margin-top: 20px; padding: 15px; border-radius: 12px; font-size: 14px; text-align: center; font-weight: 500; display: none; }
.error { background-color: #FFE5E5; color: #D92D20; }
.success { background-color: #E7F9EA; color: #168F48; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s ease-in-out infinite; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.footer-info { margin-top: auto; text-align: center; font-size: 12px; color: #C7C7CC; padding-top: 30px; }