* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Anuphan', sans-serif;
    background-color: hsl(0, 0%, 100%);
    color: hsl(0, 0%, 10%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.nav-section{
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.page-container {
    
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    
    flex: 1;
    padding: 64px 16px;
}

.content-wrapper {
    max-width: 1024px;
    margin: 0 auto;
}

.login-reminder {
    display: flex;
    align-items: center;
    gap: 8px;

    background-color: #fff9db; /* เหลืองอ่อน */
    border-left: 4px solid #ffd43b; /* เหลืองเน้น */
    padding: 12px 16px;
    margin: 16px 0;

    font-size: 14px;
    color: #333;
    border-radius: 6px;
}

.login-reminder .icon {
    font-size: 18px;
    line-height: 1;
}

.login-reminder a {
    color: #1c7ed6;
    font-weight: 600;
    text-decoration: none;
}

.login-reminder a:hover {
    text-decoration: underline;
}


/* Header */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: hsl(0, 0%, 10%);
}

.subtitle {
    font-size: 18px;
    color: hsl(0, 0%, 45%);
}

/* Package Display Card */
.package-display-card {
    background: white;
    border: 2px solid hsl(217, 90%, 61%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.package-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.package-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: hsl(0, 0%, 10%);
}

.package-subtitle {
    font-size: 14px;
    color: hsl(0, 0%, 45%);
    margin-bottom: 4px;
}

.package-detail {
    font-size: 12px;
    color: hsl(0, 0%, 45%);
}

.package-price-section {
    text-align: right;
}

.package-price {
    font-size: 32px;
    font-weight: 700;
    color: hsl(217, 90%, 61%);
    line-height: 1;
}

.package-period {
    font-size: 14px;
    color: hsl(0, 0%, 45%);
    margin-top: 4px;
    margin-bottom: 8px;
}

.change-package-btn {
    background: none;
    border: none;
    color: hsl(217, 90%, 61%);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: underline;
    font-family: inherit;
}

.change-package-btn:hover {
    color: hsl(217, 90%, 51%);
}

.hero-section {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url('../images/hero-regis.webp');
  /* background-size: 50%; */
  /* background-position: 100%; */
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat; 
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  z-index: 1;
  flex-direction: column;
}
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #303030;
  margin-bottom: 1rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #303030;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Upsell Section */
.upsell-section {
    margin-bottom: 48px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: hsl(0, 0%, 10%);
}

.section-description {
    font-size: 14px;
    color: hsl(0, 0%, 45%);
    margin-bottom: 24px;
}

.upsell-services {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.upsell-card {
    border: 2px solid hsl(0, 0%, 90%);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.upsell-card:hover {
    border-color: hsl(217, 90%, 81%);
}

.upsell-card.selected {
    border-color: hsl(217, 90%, 61%);
    background-color: hsl(0, 0%, 100%);
}

.upsell-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.service-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #2563eb;
}

.service-info {
    flex: 1;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: hsl(0, 0%, 10%);
}

.service-description {
    font-size: 14px;
    color: hsl(0, 0%, 45%);
}

.package-options {
    margin-top: 12px;
    margin-left: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.package-option {
    display: block;
    border: 1px solid hsl(0, 0%, 90%);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.package-option:hover {
    border-color: hsl(217, 90%, 61%);
    background-color: hsl(217, 90%, 99%);
}

.package-option input[type="radio"] {
    display: none;
}

.package-option input[type="radio"]:checked + .package-option-content {
    border-left: 3px solid hsl(217, 90%, 61%);
    padding-left: 13px;
}

.package-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    transition: all 0.2s;
}

.package-option-info {
    display: flex;
    flex-direction: column;
}

.package-option-name {
    font-size: 14px;
    font-weight: 600;
    color: hsl(0, 0%, 10%);
}

.package-option-desc {
    font-size: 12px;
    color: hsl(0, 0%, 45%);
}

.package-option-price {
    font-size: 18px;
    font-weight: 600;
    color: hsl(217, 90%, 61%);
}

/* Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: hsl(0, 0%, 10%);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: hsl(0, 0%, 10%);
}

.form-field input,
.form-field textarea, 
.form-field select {
    padding: 12px 16px;
    border: 1px solid hsl(0, 0%, 90%);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background-color: white;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: hsl(217, 90%, 61%);
    box-shadow: 0 0 0 3px hsla(217, 90%, 61%, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Terms & Summary */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-checkbox label {
    font-size: 14px;
    color: hsl(0, 0%, 45%);
    cursor: pointer;
}

.terms-checkbox a {
    color: hsl(217, 90%, 61%);
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.summary-box {
    background-color: hsl(0, 0%, 98%);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.summary-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: hsl(0, 0%, 10%);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid hsl(0, 0%, 90%);
    font-size: 14px;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 2px solid hsl(0, 0%, 80%);
    font-size: 18px;
    font-weight: 600;
}

.summary-total span:last-child {
    color: hsl(217, 90%, 61%);
    font-size: 24px;
}

/* Success State */
.success-container {
    /* display: none; */
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.success-container.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: #1A73E8;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.125rem;
    color: #7A7A73;
    margin-bottom: 2rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 24px;
    background-color: hsl(217, 90%, 61%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background-color: hsl(217, 90%, 51%);
}

.submit-btn:disabled {
    background-color: hsl(0, 0%, 80%);
    cursor: not-allowed;
}
.package-discount{
    color: rgb(243, 77, 36);
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 32px 16px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .package-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-price-section {
        text-align: left;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full-width {
        grid-column: 1;
    }

    .form-card {
        padding: 24px;
    }

    .package-options {
        margin-left: 0;
    }
}