:root{--account-red:#7b2018;--account-red-dark:#54120e;--account-cream:#fffaf0;--account-line:#ead8bf;--account-ink:#3f2a22}
*{box-sizing:border-box}.student-account-page{margin:0;min-height:100vh;background:radial-gradient(circle at top,#fffdf7 0,#f7ead5 52%,#ead3b6 100%);color:var(--account-ink);font-family:"Segoe UI",Arial,sans-serif}.student-account-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:32px 0 60px}.student-login-card{width:min(520px,100%);margin:3vh auto 0;padding:34px;border:1px solid var(--account-line);border-radius:28px;background:rgba(255,253,247,.96);box-shadow:0 24px 65px rgba(85,36,21,.14)}.student-logo{display:block;width:230px;max-width:72%;margin:0 auto 18px}.student-logo img,.student-dashboard-header img{width:100%;display:block}.student-login-card h1{margin:8px 0 10px;font-family:Georgia,serif;font-size:clamp(30px,5vw,44px);color:var(--account-red-dark)}.student-login-card>p{line-height:1.65;color:#765f52}.student-login-card form{display:grid;gap:10px;margin-top:22px}.student-login-card label,.student-change-password-card label{font-weight:750;font-size:14px}.student-login-card input,.student-change-password-card input{width:100%;height:48px;border:1px solid #d9c3aa;border-radius:13px;padding:0 14px;background:#fff;font:inherit}.password-field{position:relative}.password-field input{padding-right:48px}.password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:39px;height:38px;padding:0;border:0;border-radius:10px;background:#f5e8d7;color:var(--account-red);font-size:20px;cursor:pointer}.student-login-card .primary-button,.student-change-password-card .primary-button{margin-top:8px;width:100%;min-height:49px}.account-message{min-height:22px;margin:5px 0;color:#a13325}.student-login-help{margin-top:18px;padding:14px 16px;border-radius:14px;background:#f7eddf}.student-login-help p{margin:5px 0 0;line-height:1.5}.back-home-link{display:block;margin-top:18px;color:var(--account-red);text-align:center;font-weight:700;text-decoration:none}.student-dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px;border:1px solid var(--account-line);border-radius:22px;background:rgba(255,253,247,.95);box-shadow:0 14px 45px rgba(85,36,21,.08)}.student-dashboard-header>a{width:210px}.student-dashboard-header nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.student-dashboard-header nav a{padding:10px 12px;color:var(--account-red-dark);font-weight:750;text-decoration:none}.student-welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:25px 0;padding:30px;border-radius:26px;color:#fff;background:linear-gradient(135deg,#731b16,#a6402d);box-shadow:0 20px 50px rgba(102,31,20,.2)}.student-welcome h1{margin:6px 0;font:700 clamp(32px,5vw,50px)/1.1 Georgia,serif}.student-welcome p{max-width:620px;margin:0;color:#f8e7d4;line-height:1.6}.student-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px}.student-profile-facts span{display:flex;flex-direction:column;padding:13px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(255,255,255,.08)}.student-profile-facts small{color:#ecd1bd}.student-profile-facts strong{margin-top:5px}.student-change-password-card{display:grid;grid-template-columns:.8fr 1.2fr;gap:35px;padding:30px;border:1px solid #e3c8aa;border-radius:24px;background:#fff8eb}.student-change-password-card h2{font:700 32px Georgia,serif;color:var(--account-red-dark)}.student-change-password-card form{display:grid;gap:9px}.student-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.student-quick-actions a{display:flex;align-items:center;gap:14px;min-height:105px;padding:20px;border:1px solid var(--account-line);border-radius:20px;background:#fffdf8;color:var(--account-ink);text-decoration:none;box-shadow:0 10px 28px rgba(85,36,21,.07)}.student-quick-actions b{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#f3dfc8;color:var(--account-red);font:700 25px Georgia,serif}.student-quick-actions span{display:flex;flex-direction:column;gap:5px}.student-quick-actions small{color:#826e61}.student-results-card{padding:26px;border:1px solid var(--account-line);border-radius:24px;background:#fffdf8}.student-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.student-section-heading h2{margin:5px 0;font:700 30px Georgia,serif;color:var(--account-red-dark)}.student-result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.student-result-stats article{display:flex;flex-direction:column;padding:16px;border-radius:16px;background:#f8eddf}.student-result-stats strong{font-size:28px;color:var(--account-red)}.student-results-table{overflow:auto}.student-results-table table{width:100%;border-collapse:collapse;min-width:760px}.student-results-table th,.student-results-table td{padding:12px;border-bottom:1px solid #eee0cf;text-align:left}.student-contact-card{margin-top:18px;padding:18px 22px;border-radius:18px;background:#efe0cc}.student-contact-card p{margin:5px 0}.student-contact-card a{color:var(--account-red);font-weight:800}
@media(max-width:820px){.student-account-shell{width:min(100% - 20px,1180px);padding-top:10px}.student-dashboard-header{align-items:flex-start;flex-direction:column}.student-dashboard-header>a{width:180px;margin:auto}.student-dashboard-header nav{width:100%;justify-content:center}.student-welcome{align-items:flex-start;flex-direction:column;padding:24px}.student-profile-facts{width:100%;grid-template-columns:1fr}.student-change-password-card{grid-template-columns:1fr}.student-quick-actions{grid-template-columns:1fr}.student-result-stats{grid-template-columns:1fr}.student-login-card{padding:25px 20px;border-radius:22px}.student-section-heading{align-items:flex-start;flex-direction:column}}

/* V63: ẩn đúng trạng thái, căn con mắt và mở rộng trang đề mô phỏng */
[hidden] { display: none !important; }
.password-field .password-toggle {
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  min-width: 38px;
  width: 38px;
  min-height: 38px;
  height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
}
.student-dashboard-notice {
  margin: -10px 0 20px;
  padding: 13px 16px;
  border: 1px solid #a8d7bf;
  border-radius: 13px;
  background: #edf8f1;
  color: #1f6b4d;
  font-weight: 800;
}
.mock-exam-intro {
  width: min(920px,100%);
  margin: 2vh auto 0;
  padding: clamp(28px,5vw,52px);
  border: 1px solid var(--account-line);
  border-radius: 28px;
  background: rgba(255,253,247,.96);
  box-shadow: 0 24px 65px rgba(85,36,21,.14);
}
.mock-exam-intro h1 {
  max-width: 780px;
  margin: 10px 0 14px;
  color: var(--account-red-dark);
  font: 700 clamp(38px,6vw,64px)/1.06 Georgia,serif;
}
.mock-exam-intro > p {
  max-width: 780px;
  color: #765f52;
  font-size: 18px;
  line-height: 1.65;
}
.mock-exam-intro .student-login-help { max-width: 780px; }
@media(max-width:820px) {
  .mock-exam-intro { margin-top: 8px; padding: 26px 20px; border-radius: 22px; }
  .mock-exam-intro h1 { font-size: clamp(34px,11vw,48px); }
  .mock-exam-intro > p { font-size: 16px; }
}

/* V64: giữ Gmail trong ô hồ sơ và sửa font tiêu đề đề thi mô phỏng */
.student-profile-facts,
.student-profile-facts span,
.student-profile-facts strong {
  min-width: 0;
  max-width: 100%;
}
.student-profile-facts strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}
.mock-exam-intro h1 {
  max-width: none;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(38px,5vw,56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
}
@media(max-width:820px) {
  .mock-exam-intro h1 {
    font-size: clamp(34px,10vw,46px);
    line-height: 1.08;
  }
}
