:root {
    --primary-red: #8f0e14;
    --gold: #d4af72;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
    --border-color: #eeeeee;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.5;
    font-size: 14px;
}

/* Entry Page Styles */
.entry-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../images/5.png') no-repeat top center;
    background-size: cover;
    /* Or contain/100% auto depending on need, cover is safer for full bg */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
}

/* Specific styling for the stacked images in index.html */
/* Specific styling for the stacked images in index.html */
.logo-img {
    display: block;
    width: 45%;
    height: auto;
    margin: 40px auto 20px auto;
}

.main-title-img {
    display: block;
    width: 90%;
    height: auto;
    margin: 10px auto;
}

.sub-title-img {
    display: block;
    width: 65%;
    height: auto;
    margin: 40px auto 60px auto;
}

/* Button wrapper/link */
.enter-btn-link {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    /* Some spacing before button */
    padding-bottom: 50px;
    /* Space at bottom */
}



.enter-btn-wrapper {
    position: relative;
    display: inline-block;
    /* Ensure wrapper fits content */
    width: 180px;
    /* Match image width */
    max-width: 80%;
}

.enter-btn-img {
    display: block;
    width: 100%;
    /* Let wrapper control width */
    cursor: pointer;
    transition: transform 0.1s;
}

.enter-btn-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    pointer-events: none;
    white-space: nowrap;
}

.enter-btn-img:active {
    transform: scale(0.95);
}

.decorative-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

/* Form Page Styles */
.form-page {
    background-color: var(--white);
    min-height: 100vh;
}

.banner-img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
    background-color: var(--primary-red);
}

.form-container {
    padding: 0 0 20px 0;
}

.form-group {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
}

.form-group label {
    width: 110px;
    color: #333;
    font-weight: 500;
    flex-shrink: 0;
}

.required-star {
    color: #d9534f;
    margin-right: 2px;
}

.form-control {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    text-align: left;
}

.form-control::placeholder {
    color: #ccc;
}

/* Radio/Select styles */
.consultant-group {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.consultant-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
}

.radio-option.selected {
    border-color: var(--primary-red);
    background-color: #fff5f5;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--primary-red);
}

.submit-btn-container {
    padding: 20px;
}

.submit-btn {
    width: 100%;
    background-color: #c9302c;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:disabled {
    background-color: #e6a8a6;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23ccc' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right center / 8px 10px;
    padding-right: 15px;
}