
.khachhang {
max-width: 900px;
margin: 40px auto;
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
h2 {
margin-top: 0;
}
.info-box {
margin-top: 20px;
}
.info-item {
display: flex;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid #dfdfdf;
}
.info-item:last-child {
border-bottom: none;
}
.label {
font-weight: bold;
color: #333;
}
.value {
color: #444;
}
.loading {
text-align: center;
font-size: 18px;
padding: 20px;
}
.btn-logout {
margin-top: 30px;
display: inline-block;
background: #ff4d4f;
color: #fff;
padding: 10px 16px;
border-radius: 6px;
text-decoration: none;
cursor: pointer;
}
.btn-logout:hover {
opacity: 0.8;
}
.center-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btn.primary {
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
}

.account-content {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
}

input, select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

input:focus, select:focus {
  outline: none;
  border-color: #2463eb;
  box-shadow: 0 0 0 3px rgba(36,99,235,0.2);
}

.form-group-inline {
  display: flex;
  gap: 16px;
}

.form-group-inline .form-row {
  flex: 1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary {
  background: #2463eb;
  color: white;
}

.btn.primary:hover{
    background-color: rgb(134, 179, 237);

}

.btn.outline {
  background: white;
  color: #2463eb;
  border: 1px solid #2463eb;
}
.btn.outline:hover{
    border: gray;
    color: gray;
    background-color: rgb(201, 193, 193);
}
hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid #eee;
}

h3 {
  margin-top: 0;
  font-size: 18px;
  color: #333;
}

.error {
  font-size: 12px;
  color: #d32f2f;
  min-height: 16px;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding-right: 32px; /* chừa chỗ cho icon */
}

.edit-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #888;
  pointer-events: none;
}

.input-wrapper input:focus + .edit-icon {
  color: #2463eb;
}
#updateWrapper {
  transition: all 0.3s ease;
}
