/* Stie */
:root {
    --primary-color: #f25019;
    --button-hover-color: #e05a1a;
    --link-color: #e05a1a;
    --background-color: #f9f9fa;
    --text-color: #333;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --info-color: #3498db;
    --input-border-color: #ecebef;
    --input-hover-border: #9797a6;
    --input-focus-border: #f25019;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: var(--text-color);
}

.container {
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

h1 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 800;
}

/* --- Giao diện input có icon --- */

.input-group {
    display: inline-flex;
    /* border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: white; */
    margin-bottom: 20px;
    width: 100%;
    height: 54px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background-color: transparent;
    color: #14181f;
    font-size: 16px;
    min-width: 27px;
    border-left: 1px solid var(--input-border-color);
    border-top: 1px solid var(--input-border-color);
    border-bottom: 1px solid var(--input-border-color);

}

.input-field {
    display: inline-flex;
    align-items: center;
    flex: 1;
    padding: 0 10px;
    background-color: #fff;
    border: 1px solid var(--input-border-color);
}

.input-field:hover {
    border: 1px solid var(--input-focus-border);
}

.input-field input {
    border: none;
    outline: none;
    font-size: 15px;
    flex: 1;
    width: 100%;
    height: 48px;
    background: transparent;
}

.input-field input::placeholder {
    color: #aaa;
}

/* --- Nút bấm --- */
button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

button:hover {
    background-color: var(--button-hover-color);
}

/* --- Link nhỏ bên dưới form --- */
.links {
    margin-top: 25px;
    font-size: 0.9em;
}

.links a {
    color: var(--link-color);
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    text-decoration: underline;
}

/* --- Thông báo trạng thái --- */
.message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9em;
}

.message.error {
    background-color: #fdeded;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.message.success {
    background-color: #eafaf1;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.message.info {
    background-color: #eef7fb;
    color: var(--info-color);
    border: 1px solid var(--info-color);
}

.hidden {
    display: none;
}

/* --- Nội dung sau đăng nhập (tùy chọn giữ lại) --- */
#logged-in-content p {
    margin-bottom: 20px;
    font-size: 1.1em;
}