/* style/register.css */
/* 
  Màu sắc tùy chỉnh:
  - Đăng Ký nút: #C30808
  - Đăng Nhập nút: #C30808
  - Nền: #FFFFFF (được sử dụng cho các phần nền sáng)
  - Đăng Ký và Đăng Nhập chữ: #FFFF00
*/

.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text on light body background */
  background-color: var(--secondary-color); /* Matches body background from shared.css */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #017439 50%, var(--secondary-color) 100%); /* Green to White gradient */
  color: #ffffff; /* Light text on gradient */
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-register__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Slightly off-white for better contrast on gradient */
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom Register/Login button color */
  color: #FFFF00; /* Custom Register/Login font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__cta-button:hover {
  background: #a30707; /* Darker red on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-register__section-title {
  font-size: 2.5em;
  color: var(--primary-color); /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__section-title--light {
  color: #FFFF00; /* Light text for dark backgrounds */
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.7;
}

.page-register__section-description--light {
  color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Why Us Section */
.page-register__why-us-section {
  background-color: var(--secondary-color); /* White background */
  color: #333333;
}

.page-register__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-register__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-register__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__feature-heading {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__feature-item p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Registration Guide Section */
.page-register__registration-guide-section {
  background-color: var(--primary-color); /* Brand primary color */
  color: #ffffff;
}

.page-register__guide-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-register__guide-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__guide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* Ensure consistency with parent */
}

.page-register__steps-list {
  flex: 1;
  list-style: none;
  padding: 0;
}

.page-register__step-item {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.page-register__step-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__step-heading {
  font-size: 1.4em;
  color: #FFFF00; /* Custom font color for titles on dark background */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__step-item p {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-register__btn-start-register {
  margin-top: 60px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Scam Allegations Section */
.page-register__scam-allegations-section {
  background-color: var(--secondary-color);
  color: #333333;
}

.page-register__sub-heading {
  font-size: 1.8em;
  color: var(--primary-color);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-register__checklist {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-register__checklist-item {
  background: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary-color);
}

.page-register__checklist-heading {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__checklist-item p {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-register__image-wrapper {
  margin: 50px auto;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.page-register__more-info {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
}

.page-register__more-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-register__more-info a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: var(--primary-color);
  color: #ffffff;
}