/* ==========================================================================
   Thailand 5S Award - Registration Menu Page Styles (styleRegisterMenu.css)
   Polished to match the Royal Gold theme and index.html design language
   ========================================================================== */

:root {
    --reg-gold-primary: #b87900;
    --reg-gold-dark: #8c5d00;
    --reg-gold-light: #df9e08;
    --reg-gold-soft: #fbf5e6;
    --reg-gold-border: rgba(196, 149, 45, 0.24);
    --reg-text-main: #3b2c0f;
    --reg-text-sub: #6e5c3b;
    --reg-text-muted: #8c7752;
    --reg-card-bg: #ffffff;
    --reg-shadow: 0 12px 34px rgba(120, 90, 20, 0.08);
    --reg-shadow-hover: 0 20px 48px rgba(184, 121, 0, 0.18);
    --reg-radius-lg: 24px;
    --reg-radius-md: 16px;
}

/* Page Container */
.register-page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}

/* ==================== Hero Header ==================== */
.register-hero-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.register-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: linear-gradient(135deg, #fff7e4 0%, #faecd0 100%);
    border: 1px solid rgba(196, 149, 45, 0.35);
    border-radius: 50px;
    color: var(--reg-gold-dark);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 16px;
    box-shadow: 0 3px 12px rgba(184, 121, 0, 0.08);
}

.register-badge-pill svg {
    color: var(--reg-gold-primary);
    flex-shrink: 0;
}

.register-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--reg-text-main);
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

.register-hero-title span {
    background: linear-gradient(135deg, #a46c00 0%, #df9e08 50%, #8c5d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.register-hero-subtitle {
    font-size: 1.1rem;
    color: var(--reg-text-sub);
    max-width: 780px;
    margin: 0 auto 20px;
    line-height: 1.7;
    font-weight: 400;
}

/* Registration Notice Alert Banner */
.register-alert-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #fffbf2 0%, #faecd0 100%);
    border: 1px solid rgba(196, 149, 45, 0.32);
    border-radius: 50px;
    color: #63460f;
    font-size: 0.95rem;
    font-weight: 500;
    max-width: 760px;
    margin: 0 auto 40px;
    box-shadow: 0 4px 16px rgba(184, 121, 0, 0.08);
}

.register-alert-banner svg {
    color: var(--reg-gold-primary);
    flex-shrink: 0;
}

/* ==================== 2 Main Registration Choice Cards ==================== */
.reg-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.reg-option-card {
    background: #ffffff;
    border-radius: var(--reg-radius-lg);
    border: 1.5px solid var(--reg-gold-border);
    box-shadow: var(--reg-shadow);
    padding: 38px 36px 34px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.2, 0, 0.2, 1),
                box-shadow 0.32s ease,
                border-color 0.3s ease;
}

.reg-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9f6900 0%, #df9e08 50%, #ffd470 100%);
    z-index: 2;
}

.reg-option-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--reg-shadow-hover);
    border-color: rgba(217, 150, 5, 0.65);
}

/* Featured Styling for the Main Award */
.reg-option-card.is-featured {
    background: linear-gradient(175deg, #ffffff 0%, #fffcf5 60%, #fff7e4 100%);
    border-color: rgba(223, 158, 8, 0.65);
    box-shadow: 0 14px 40px rgba(184, 121, 0, 0.12),
                0 0 0 4px rgba(245, 188, 40, 0.14);
}

.reg-option-card.is-featured:hover {
    box-shadow: 0 22px 52px rgba(184, 121, 0, 0.22),
                0 0 0 4px rgba(245, 188, 40, 0.25);
}

.reg-card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.reg-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, #df9e08 0%, #b87900 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(184, 121, 0, 0.32);
    transition: transform 0.3s ease;
}

.reg-option-card:hover .reg-icon-box {
    transform: scale(1.08);
}

.reg-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--reg-gold-dark);
    background: #fdf5e2;
    border: 1px solid #ebd59e;
}

.reg-option-card.is-featured .reg-badge-tag {
    background: linear-gradient(135deg, #b87900, #df9e08);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(184, 121, 0, 0.28);
}

.reg-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--reg-text-main);
    line-height: 1.35;
    margin: 0 0 12px;
}

.reg-card-desc {
    font-size: 1rem;
    color: var(--reg-text-sub);
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Feature List (Checkmarks) */
.reg-feature-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.reg-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    color: var(--reg-text-main);
    line-height: 1.55;
}

.reg-feature-item svg {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Action Button */
.reg-card-action {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed #eee0c4;
}

.reg-btn-primary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    background: linear-gradient(135deg, #df9e08 0%, #b87900 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(184, 121, 0, 0.28);
    transition: all 0.28s ease;
}

.reg-btn-primary:hover {
    background: linear-gradient(135deg, #e8a917 0%, #9f6600 100%);
    box-shadow: 0 10px 28px rgba(184, 121, 0, 0.38);
    transform: translateY(-2px);
    color: #ffffff;
}

.reg-btn-primary svg {
    transition: transform 0.25s ease;
}

.reg-btn-primary:hover svg {
    transform: translateX(4px);
}

.reg-btn-secondary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    background: #ffffff;
    color: var(--reg-gold-dark);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid #dfc48e;
    font-family: inherit;
    transition: all 0.28s ease;
}

.reg-btn-secondary:hover {
    background: #fbf5e6;
    border-color: var(--reg-gold-primary);
    color: var(--reg-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 121, 0, 0.15);
}

.reg-btn-secondary svg {
    transition: transform 0.25s ease;
}

.reg-btn-secondary:hover svg {
    transform: translateX(4px);
}

/* ==================== 4-Step Registration Guide ==================== */
.reg-steps-section {
    margin-top: 20px;
    margin-bottom: 50px;
}

.reg-steps-header {
    text-align: center;
    margin-bottom: 32px;
}

.reg-steps-header h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--reg-text-main);
    margin: 0 0 8px;
}

.reg-steps-header p {
    font-size: 1rem;
    color: var(--reg-text-muted);
    margin: 0;
}

.reg-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reg-step-card {
    background: #ffffff;
    border: 1px solid var(--reg-gold-border);
    border-radius: var(--reg-radius-md);
    padding: 24px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(120, 90, 20, 0.05);
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.reg-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--reg-shadow);
    border-color: var(--reg-gold-light);
}

.reg-step-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--reg-gold-dark);
    background: #fdf5e2;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.reg-step-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fffcf5 0%, #fbf3e0 100%);
    border: 1px solid rgba(196, 149, 45, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.reg-step-icon-wrap img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.reg-step-card:hover .reg-step-icon-wrap {
    transform: scale(1.1);
}

.reg-step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--reg-text-main);
    margin: 0 0 6px;
    line-height: 1.35;
}

.reg-step-card p {
    font-size: 0.86rem;
    color: var(--reg-text-sub);
    line-height: 1.5;
    margin: 0 0 14px;
    flex-grow: 1;
}

.reg-step-link-text {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--reg-gold-dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==================== Inquiry & Support Banner ==================== */
.reg-support-banner {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf2 50%, #f9edd0 100%);
    border: 1px solid var(--reg-gold-border);
    border-radius: var(--reg-radius-lg);
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--reg-shadow);
}

.reg-support-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--reg-text-main);
    margin: 0 0 6px;
}

.reg-support-content p {
    font-size: 0.98rem;
    color: var(--reg-text-sub);
    margin: 0;
}

.reg-support-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.reg-support-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 40px;
    background: linear-gradient(135deg, #df9e08, #b87900);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(184, 121, 0, 0.28);
    transition: all 0.25s ease;
}

.reg-support-btn-primary:hover {
    background: linear-gradient(135deg, #e8a917, #9f6600);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 121, 0, 0.35);
    color: #ffffff;
}

.reg-support-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 40px;
    background: #ffffff;
    color: var(--reg-gold-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dfc798;
    transition: all 0.25s ease;
}

.reg-support-btn-outline:hover {
    background: #fbf5e6;
    border-color: var(--reg-gold-primary);
    transform: translateY(-2px);
    color: var(--reg-gold-dark);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .reg-options-grid {
        gap: 24px;
    }

    .reg-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .reg-options-grid {
        grid-template-columns: 1fr;
    }

    .reg-support-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .reg-support-actions {
        width: 100%;
        flex-direction: column;
    }

    .reg-support-btn-primary,
    .reg-support-btn-outline {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .register-page-container {
        padding: 24px 14px 60px;
    }

    .register-hero-title {
        font-size: 2rem;
    }

    .register-hero-subtitle {
        font-size: 0.98rem;
    }

    .register-alert-banner {
        border-radius: 20px;
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .reg-option-card {
        padding: 26px 20px 22px;
    }

    .reg-card-title {
        font-size: 1.35rem;
    }

    .reg-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

