/* --- CSS Reset & Base Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #faf7f2; /* Elegant Pearl Pearl/Beige */
    color: #433e3d; /* Soft Slate Charcoal */
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 0%, #fffcf8 0%, #faf7f2 80%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- Brand Header & Logo --- */
.header {
    text-align: center;
    margin-bottom: 45px;
}

.logo-container {
    margin-bottom: 12px;
}

.brand-logo {
    max-height: 100px;
    width: auto;
    border-radius: 50%;
    border: 2px solid #218d36; /* My Nhu Green Circle */
    padding: 4px;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(33, 141, 54, 0.08);
}

.spa-brand {
    font-size: 15px;
    letter-spacing: 5px;
    color: #218d36; /* Brand Green */
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.main-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #2b2221;
    letter-spacing: -0.5px;
}

.main-title .highlight {
    background: linear-gradient(135deg, #218d36 0%, #155d22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(33, 141, 54, 0.15);
}

.subtitle {
    font-size: 16px;
    color: #7c6867;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Main Layout --- */
.main-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.left-section {
    flex: 1.1;
    display: flex;
    flex-direction: column;
}

.right-section {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- Machine Display Box (Left Side) --- */
.machine-display-box {
    background: #ffffff;
    border: 1px solid rgba(33, 141, 54, 0.15);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(33, 141, 54, 0.03);
    margin-bottom: 25px;
    position: relative;
}

.machine-title-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e27a3f 0%, #c4642b 100%); /* Orange Accent */
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 6px 12px rgba(226, 122, 63, 0.25);
    text-transform: uppercase;
}

.roma-machine-img {
    max-height: 320px;
    width: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    animation: float 4s ease-in-out infinite;
}

/* --- Slots Counter & Progress Bar --- */
.slots-container {
    background: #ffffff;
    border: 1px solid rgba(226, 122, 63, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(226, 122, 63, 0.03);
    margin-bottom: 25px;
}

.slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.slots-alert {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
}

.slots-alert strong {
    color: #ff5252;
}

.slots-count {
    font-size: 12px;
    color: #8c7674;
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0eae1;
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e27a3f 0%, #ff5252 100%);
    border-radius: 50px;
}

/* --- Benefits Container --- */
.benefits-container {
    background: #ffffff;
    border: 1px solid rgba(33, 141, 54, 0.15);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(33, 141, 54, 0.03);
}

.benefits-title {
    font-size: 15px;
    font-weight: 700;
    color: #218d36;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    border-left: 3px solid #218d36;
    padding-left: 10px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefit-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: rgba(33, 141, 54, 0.1);
    border-radius: 50%;
    color: #218d36;
    font-size: 11px;
    font-weight: bold;
}

.benefits-list li strong {
    color: #2b2221;
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.benefits-list li span {
    font-size: 13.5px;
    color: #635453;
    font-weight: 300;
}

/* --- Form Container --- */
.form-container {
    background: #ffffff;
    border: 1px solid rgba(33, 141, 54, 0.15);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(33, 141, 54, 0.04);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2b2221;
    text-align: center;
}

.form-subtitle {
    font-size: 13px;
    color: #8c7674;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 300;
}

.voucher-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #4a3e3d;
}

.form-group .required {
    color: #ff5252;
}

.form-group input,
.form-group select {
    width: 100%;
    background-color: #fdfcfb;
    border: 1px solid rgba(33, 141, 54, 0.25);
    border-radius: 6px;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    color: #4a3e3d;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #218d36;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(33, 141, 54, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23218d36' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* --- Submit Button --- */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2eb249 0%, #177f2c 100%); /* Brand Green Gradient */
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(33, 141, 54, 0.2);
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(33, 141, 54, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* --- Guarantee Card (3 KHÔNG) --- */
.guarantee-card {
    background: rgba(33, 141, 54, 0.03);
    border: 1px dashed rgba(33, 141, 54, 0.3);
    border-radius: 16px;
    padding: 25px;
}

.guarantee-title {
    font-size: 13px;
    font-weight: 700;
    color: #218d36;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
}

.guarantee-list {
    list-style: none;
}

.guarantee-list li {
    margin-bottom: 12px;
}

.guarantee-list li:last-child {
    margin-bottom: 0;
}

.guarantee-list li strong {
    font-size: 12px;
    color: #218d36;
    display: block;
    margin-bottom: 3px;
}

.guarantee-list li p {
    font-size: 13px;
    color: #635453;
    font-weight: 300;
    line-height: 1.4;
}

/* --- Footer --- */
.footer {
    text-align: center;
    border-top: 1px solid rgba(33, 141, 54, 0.12);
    padding-top: 25px;
    margin-top: 40px;
}

.footer p {
    font-size: 13px;
    color: #8c7674;
    margin-bottom: 8px;
    font-weight: 300;
}

/* --- Keyframe Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.pulse-text {
    animation: text-pulse 1.5s infinite alternate;
}

@keyframes text-pulse {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 82, 82, 0.15);
    }
}

/* --- Responsive Layout --- */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        gap: 35px;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        flex: none;
    }
    
    .main-title {
        font-size: 26px;
    }
    
    .roma-machine-img {
        max-height: 250px;
    }
}
