:root {
    --bms-red: #F84464;
    --bms-dark: #333338;
    --bms-bg: #F5F5F5;
    --bms-grey: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bms-bg);
    color: #333;
}
/* Toast notification at the bottom */
.share-toast {
    position: fixed;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #323232;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 9999;
    transition: bottom 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.share-toast.show {
    bottom: 30px;
    opacity: 1;
}

/* Icon feedback color */
.fa-circle-check {
    color: #4CAF50 !important;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    font-weight: bold;
}

.header-icons i {
    margin-left: 20px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Step Layouts */
.step {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding-top: 80px;
    min-height: 80vh;
}

.step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

/* Step 1 */
#step-1 { padding-top: 0; background: white; }
.huge-text h1 {
    font-size: 5rem;
    color: var(--bms-red);
    text-align: center;
    line-height: 1;
    font-weight: 900;
}

/* Step 2 Ticket Card */

/* Container adjustments for the sidebar */
.ticket-card {
    position: relative; /* Essential for positioning the M-Ticket label */
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    padding-right: 30px; /* Make room for the vertical text */
}

/* M-Ticket Vertical Text */
.m-ticket-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: #EEEEEE;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    /* This creates the 180-degree vertical effect seen in the screenshot */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-left: 1px solid #ddd;
}

/* Poster Image Styling */
.poster-container {
    width: 100px;
    height: 140px;
    flex-shrink: 0;
}

.movie-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Ensure details don't overlap with the sidebar */
.details-right {
    flex-grow: 1;
    padding-right: 10px;
}

.ticket-info {
    display: flex;
    padding: 20px;
    gap: 15px;
}

.poster-placeholder {
    width: 100px;
    height: 150px;
    background: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #bbb;
}

.details-right h3 { font-size: 1.1rem; margin-bottom: 8px; }
.details-right p { font-size: 0.9rem; color: var(--bms-grey); margin-bottom: 4px; }

.support-btn {
    width: 100%;
    padding: 12px;
    background: #F0F0F5;
    border: none;
    color: #444;
    font-size: 0.85rem;
    cursor: pointer;
}

.verification-tab {
    padding: 25px 20px;
    border-top: 1px dashed #ccc;
    text-align: center;
}

.verify-label { font-weight: bold; margin-bottom: 15px; }

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    outline: none;
}

.confirm-btn {
    width: 100%;
    padding: 12px;
    background: var(--bms-red);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.error-msg { color: var(--bms-red); font-size: 0.8rem; margin-bottom: 10px; height: 12px; }

/* Step 3 */
.info-card {
    text-align: center;
    padding: 40px 20px;
    max-width: 500px;
}

.info-card h2 { font-size: 1.2rem; color: #333; margin-bottom: 20px; }
.agent-disclaimer { font-size: 0.75rem; color: var(--bms-grey); }

/* Footer */
footer {
    background: var(--bms-dark);
    color: #999;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img.colored-logo {
    width: 150px;
    /* Ensure no filters are hiding the colors */
    filter: none; 
    transition: transform 0.3s ease;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}
/* Container for the logo and lines */
.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between the lines and the logo */
    margin-bottom: 30px;
    width: 100%;
    max-width: 1200px; /* Adjust based on your desktop preference */
    margin-left: auto;
    margin-right: auto;
}

/* The horizontal lines */
.line {
    height: 1px;
    background-color: #444; /* Dark grey line to match BMS theme */
    flex-grow: 1; /* This makes the lines stretch to the ends */
}

/* Ensure the logo doesn't shrink */
.footer-logo {
    flex-shrink: 0;
    margin-bottom: 0; /* Removed bottom margin since it's now in the row */
}

.footer-logo img.colored-logo {
    width: 150px;
    display: block;
}

/* Footer Padding (where the lines will stop) */
footer {
    background: var(--bms-dark);
    padding: 60px 40px; /* The lines will reach within 40px of the screen edge */
    text-align: center;
}

.social-icons { margin-bottom: 25px; }
.social-icons i {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #fff;
    opacity: 0.6;
    cursor: pointer;
}

.footer-text p { font-size: 0.7rem; line-height: 1.6; max-width: 800px; margin: 0 auto 10px; }

.hidden { display: none !important; }

/* Mobile View Port Limit */
@media (max-width: 480px) {
    .huge-text h1 { font-size: 3.5rem; }
    .ticket-card { width: 95%; }
}