<!DOCTYPE html>
<html lang=”vi”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>Đăng Nhập – Đậm Vị Coffee</title>
<link rel=”stylesheet” href=”style.css”>
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css”>
</head>
<body>
<div class=”login-wrapper”>
<div class=”login-card”>
<div class=”brand-header”>
<h2>ĐẬM VỊ COFFEE</h2>
<p>Cà phê đậm chất riêng – Đăng nhập tài khoản</p>
</div>
<form class=”login-form”>
<div class=”input-group”>
<i class=”fa-solid fa-envelope”></i>
<input type=”email” placeholder=”Địa chỉ email hoặc tên đăng nhập” required>
</div>
<div class=”input-group”>
<i class=”fa-solid fa-lock”></i>
<input type=”password” placeholder=”Mật khẩu” required>
</div>
<div class=”form-options”>
<label class=”remember-me”>
<input type=”checkbox”> Ghi nhớ mật khẩu
</label>
<a href=”#” class=”forgot-pass”>Quên mật khẩu?</a>
</div>
<button type=”submit” class=”btn-submit”>ĐĂNG NHẬP</button>
<div class=”divider”>
<span>Hoặc kết nối với</span>
</div>
<div class=”social-login”>
<button type=”button” class=”btn-social google”>
<i class=”fa-brands fa-google”></i> Google
</button>
<button type=”button” class=”btn-social facebook”>
<i class=”fa-brands fa-facebook-f”></i> Facebook
</button>
</div>
<p class=”redirect-signup”>
Bạn chưa có tài khoản? <a href=”#”>Đăng ký ngay</a>
</p>
</form>
</div>
</div>
</body>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: ‘Segoe UI’, Tahoma, Geneva, Verdana, sans-serif;
}
body {
/* Lấy cảm hứng từ màu hạt cà phê rang mộc và không gian quán ấm cúng */
background: linear-gradient(135deg, #3c2a21 0%, #1a120b 100%);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.login-wrapper {
width: 100%;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
.login-card {
background-color: #fff9f5;
width: 100%;
max-width: 420px;
padding: 40px 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
border-top: 5px solid #8b5a2b; /* Màu nâu cà phê chủ đạo */
}
.brand-header {
text-align: center;
margin-bottom: 30px;
}
.brand-header h2 {
color: #3c2a21;
font-size: 24px;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 8px;
}
.brand-header p {
color: #7f685d;
font-size: 13px;
}
.input-group {
position: relative;
margin-bottom: 20px;
}
.input-group i {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #a48274;
}
.input-group input {
width: 100%;
padding: 12px 15px 12px 45px;
background-color: #ffffff;
border: 1px solid #dcd0c0;
border-radius: 6px;
outline: none;
font-size: 14px;
color: #3c2a21;
transition: all 0.3s ease;
}
.input-group input:focus {
border-color: #8b5a2b;
box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.1);
}
.form-options {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
color: #6b5344;
margin-bottom: 24px;
}
.remember-me {
display: flex;
align-items: center;
gap: 6px;
cursor: pointer;
}
.forgot-pass {
color: #8b5a2b;
text-decoration: none;
font-weight: 600;
}
.forgot-pass:hover {
text-decoration: underline;
}
.btn-submit {
width: 100%;
padding: 12px;
background-color: #8b5a2b;
color: white;
border: none;
border-radius: 6px;
font-size: 15px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s;
letter-spacing: 0.5px;
}
.btn-submit:hover {
background-color: #6d441e;
}
.divider {
text-align: center;
margin: 24px 0;
position: relative;
}
.divider::before {
content: ”;
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 1px;
background-color: #dcd0c0;
}
.divider span {
background-color: #fff9f5;
padding: 0 12px;
position: relative;
color: #8c7367;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.social-login {
display: flex;
gap: 12px;
margin-bottom: 24px;
}
.btn-social {
flex: 1;
padding: 10px;
border: 1px solid #dcd0c0;
border-radius: 6px;
background-color: #ffffff;
cursor: pointer;
font-size: 13px;
font-weight: 600;
color: #4a3528;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: background-color 0.3s, border-color 0.3s;
}
.btn-social:hover {
background-color: #f1eae2;
border-color: #b59f90;
}
.redirect-signup {
text-align: center;
font-size: 13px;
color: #6b5344;
}
.redirect-signup a {
color: #8b5a2b;
font-weight: bold;
text-decoration: none;
}
.redirect-signup a:hover {
text-decoration: underline;
}

