body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
	padding-top: 70px;
}

/* The Main Movie Card Area */
#movie-result {
    background: white;
    padding: 30px;
	padding-top: 5px;
    border-radius: 12px;
    border: 1px solid #d1d9e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 30px;
}

h1 {
    font-family: 'Lora', serif;
    color: #1a2a3a;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.director-tag {
    color: #4a6fa5;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* The Download Buttons */
.btn-container {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

button {
    background-color: #1a2a3a; /* Deep Navy */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #4a6fa5; /* Steel Blue */
}

/* The TSV button - maybe a slightly different shade to distinguish it */
.btn-tsv {
    background-color: #2c3e50;
    border: 1px solid #1a2a3a;
}


.series-picker-container {
	display: block;
}

.card-layout {
    display: flex;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    padding: 25px;
    color: #263238; /* Dark slate text */
}

.card-left img {
    width: 180px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.director-label {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #546e7a; /* Muted steel blue */
    font-weight: bold;
}

.display-notes {
	font-size: 1.38rem;
}
.downloadInstructions {
	font-size: 0.71rem;
    letter-spacing: 1.2px;
    color: #000077; 
    font-weight: bold;
}

#display-title {
    margin: 5px 0 15px 0;
    color: #1a237e; /* Deep Navy */
    font-size: 1.3rem;
}

#series-title {
    margin: 5px 0 15px 0;
    color: #1a237e; /* Deep Navy */
    font-size: 1.3rem;
}

.button-row {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

/* Sophisticated Navy Buttons */
.button-row button {
    background: #1a237e;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.button-row button:hover {
    background: #283593;
}

/* Make the image button look a little different (secondary) */
#img-dl-btn {
    background: #eceff1;
    color: #37474f;
    border: 1px solid #cfd8dc;
}


.tip-box {
    background-color: #e3f2fd; /* Light blue tint */
    border-left: 5px solid #1a237e; /* Sophisticated Navy */
    padding: 15px;
    margin: 20px 0;
    font-size: 0.95rem;
}

.howtoHeading{
	font-size: 1.4rem;
	font-weight: bold;
}

/* FAQ Container */
.faq-section {
    max-width: 800px;
    margin: 20px auto;
}

/* The actual "Drawer" */
details {
    background: #ffffff;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

details[open] {
    border-color: #1a237e; /* Sophisticated Navy border when open */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


/* Custom Arrow */
summary::before {
    content: '▶';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

details[open] summary::before {
    transform: rotate(90deg);
}

.faq-content {
    margin-top: 15px;
    color: #455a64;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

summary:hover {
    color: #1a237e; /* Keep the Navy color */
    background-color: #e3f2fd; /* Light "active" blue background */
    padding-left: 30px; /* Slight "push" to the right */
    border-radius: 4px;
}

/* Ensure the transition is smooth */
summary {
    transition: all 0.2s ease-in-out;
    padding: 10px; /* Give it some breathing room */
	font-weight: 600;
    color: #1a237e;
    cursor: pointer;
    list-style: none; /* Hides the default arrow in some browsers */
    position: relative;
    padding-left: 25px;
}


/* Override Bootstrap for the 9th Life look */
.navbar {
    background-color: #1a237e !important; /* Your Sophisticated Navy */
    border-bottom: 3px solid #4a6fa5; /* Steel Blue accent line */
    padding: 0.8rem 1rem;
}

.navbar-brand {
    font-family: 'Lora', serif; /* Or your chosen heading font */
    font-weight: bold;
    color: #ffffff !important;
    font-size: 1.5rem;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important; /* Slightly faded white */
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.1); /* Very faint white highlight */
    border-radius: 4px;
}


/* Style the hamburger menu for mobile */
.navbar-toggler {
    border-color: rgba(255,255,255,0.1);
}
.navbar-toggler-icon {
    /* This makes the "hamburger" icon white */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://w3.org stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Example of a 'Secondary' style for the Reset button */


/* Apply this to both buttons */
.btn-lookup, .btn-reset {
    /* Use 'inline-block' or 'flex' to keep them side-by-side */
    display: inline-block;
    height: 42px; /* Forcing a specific height ensures they always match */
    padding: 0 20px; 
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box; /* Crucial: border is now INCLUDED in the 42px height */
    vertical-align: middle;
}

/* The Primary "Lookup" Button */
.btn-lookup {
	background-color: #1a237e;
    color: white;
    border: 2px solid #1a237e; /* Same thickness as reset button */
}

.btn-lookup:hover {
	background-color: #4a6fa5; /* Steel Blue */
    border-color: #4a6fa5;
}

/* The Secondary "Reset" Button */
.btn-reset {
    background-color: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
}

.btn-reset:hover {
    background-color: #f0f2f5;
    color: #283593;
    border-color: #283593;
}

#checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns is safer for mobile/small screens */
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #cfd8dc;
    
    /* ADD THESE THREE LINES */
    text-align: left !important; 
    justify-items: start; 
    width: 100%; 
}

#checkbox-grid label {
    display: flex; /* Keeps box and text on one line */
    align-items: center;
    width: 100%;
    cursor: pointer;
    text-align: left !important; /* Forces the text to stay left */
}



