/* General Layout */
body {
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #111111;
    margin: 0;
    padding: 0;
}

/* Reset & Text Base */
body, h1, h2, h3, h4, h5, h6, p, a, li, span, div {
    color: #111111;
}

/* Header Navbar */
.main-navbar {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.navbar-logo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
    transition: transform 0.3s ease;
}

.navbar-logo img:hover {
    transform: scale(1.1);
}

/* Navigation Links */
.navbar-right {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #005a99;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .main-navbar .container {
        flex-direction: column;
        align-items: center;
    }

    .navbar-right {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Section Title */
.latest-section h2,
.reviews-section h2,
.trending-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1e90ff;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* Cards */
.card-film {
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    color: #111111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

.card-film:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
}

.card-film img,
.card-film video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h5 {
    font-size: 1.1rem;
    color: #1e90ff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-body p {
    font-size: 0.95rem;
    color: #333;
    flex-grow: 1;
}

.movie-category {
    font-size: 0.75rem;
    color: #1e90ff;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.col-md-3 {
    flex: 1 1 calc(25% - 1.5rem);
    max-width: calc(25% - 1.5rem);
}

@media (max-width: 992px) {
    .col-md-3 {
        flex: 1 1 calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Login Button */
.login-btn {
    color: #ffffff;
    background-color: #1e90ff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.login-btn:hover {
    background-color: #005a99;
    color: #ffffff;
}

/* Reviews & Trending Sections */
.reviews-section,
.trending-section {
    background-color: #f9f9f9;
    color: #111;
}

/* Trending List */
.trending-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
}

.trending-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.trending-list li a {
    color: #1e90ff;
    text-decoration: none;
}

.trending-list li a:hover {
    color: #005a99;
    text-decoration: underline;
}

/* Footer */
.footer-section {
    background-color: #f0f0f0;
    color: #333;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-section h6 {
    color: #111;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section a {
    color: #1e90ff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #005a99;
    text-decoration: underline;
}

.footer-section .social-links {
    display: flex;
    gap: 15px;
}

.footer-section hr {
    border-color: #ccc;
}

.footer-section p {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #333;
}

/* Form input placeholders (if any) */
::placeholder {
    color: #888;
    opacity: 0.6;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-logo {
    width: 150px;
    margin: 0 auto 25px;
}

.login-container h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.login-container .form-group {
    text-align: left;
    margin-bottom: 15px;
}

.login-container label {
    font-weight: 600;
    margin-bottom: 5px;
}

.login-container .btn {
    padding: 10px;
    font-weight: 600;
}

.extra-links {
    margin-top: 15px;
    font-size: 0.9rem;
}

.extra-links a {
    margin: 0 10px;
    color: #007bff;
    text-decoration: none;
}

.extra-links a:hover {
    text-decoration: underline;
}

.btn-logout {
    margin-top: 20px;
}

/* brader-filem-style-home.css */

/* Basic reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

/* Dashboard layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #fff; /* Light background matching Brader Filem */
    color: #222;

    /* ADDED: allow vertical scroll if content taller than viewport */
    overflow-y: auto;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #222;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex; /* ADDED */
    flex-direction: column; /* ADDED */
    justify-content: flex-start; /* ADDED */
    gap: 1rem; /* ADDED for spacing */
    min-height: 100vh; /* ADDED for full sidebar height */
}

.sidebar h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.5rem; /* ADDED to match other headings */
    color: #1e90ff; /* ADJUSTED to match main accent color */
}

/* Sidebar links */
.sidebar a {
    display: block;
    color: #ddd;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px; /* Slightly rounded */
    margin-bottom: 0.5rem;
    font-weight: 600; /* ADDED for consistency */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar a:hover {
    background-color: #1e90ff; /* match accent */
    color: #fff;
}

.sidebar a.active {
    background-color: #005a99; /* darker accent */
    color: #fff;
    font-weight: 700;
}

/* Logout button */
.sidebar form {
    margin-top: auto; /* push to bottom */
}

.sidebar form button {
    width: 100%;
    background-color: #dc3545;
    border: none;
    color: white;
    padding: 10px 0;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.sidebar form button:hover {
    background-color: #c82333;
}

/* Main content area */
.content {
    flex: 1;
    padding: 30px 40px;
    background: #fff;
    box-sizing: border-box;
    overflow-wrap: break-word; /* ensure long text wraps */
}

.content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
}

.content .info-list {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    max-width: 500px;
}

.content .info-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content .info-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.content .info-list strong {
    color: #111;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        min-height: auto; /* reset for smaller screens */
        padding: 15px 10px;
    }

    .sidebar a {
        margin-bottom: 0.75rem;
        flex: 1 1 auto;
        text-align: center;
        border-radius: 20px; /* softer corners */
    }

    .sidebar form button {
        margin-top: 1rem;
        border-radius: 20px;
    }

    .content {
        padding: 20px;
    }
}

/* ✅ Background Video */
#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.6);
}

/* ✅ Register Container */
.register-container {
    position: relative;
    z-index: 10;
    max-width: 500px;
    margin: 100px auto;
    background: transparent;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.1);
    text-align: center;
}

/* ✅ Logo */
.register-logo {
    width: 140px;
    margin-bottom: 25px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

/* ✅ Heading */
.register-container h2 {
    font-weight: 700;
    color: #1e90ff;
    margin-bottom: 25px;
    font-size: 2rem;
}

/* ✅ Form Inputs */
.register-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.register-container .form-group {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.register-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111111;
}

.register-container input,
.register-container textarea,
.register-container select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f8f8;
}

.register-container input:focus,
.register-container textarea:focus,
.register-container select:focus {
    border-color: #1e90ff;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.2);
    outline: none;
}

/* ✅ Submit Button */
.register-container button {
    width: 100%;
    padding: 12px;
    background-color: #1e90ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-container button:hover {
    background-color: #005a99;
}

/* ✅ Checkbox (Tickbox) Alignment */
.register-container .form-group.mt-3 {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    width: 100%;
    text-align: left;
}

.register-container input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 4px;
}

.register-container .form-group.mt-3 label {
    margin: 0;
    display: inline;
    font-weight: 600;
    color: #111111;
    cursor: pointer;
    line-height: 1.5;
}

.register-container .form-group.mt-3 a {
    color: #1e90ff;
    text-decoration: underline;
}

.register-container .form-group.mt-3 a:hover {
    color: #005a99;
}

/* ✅ Mobile Responsive */
@media (max-width: 576px) {
    .register-container {
        margin: 50px 20px;
        padding: 25px 20px;
    }
}

/* Dashboard layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #fff; /* Light background matching Brader Filem */
    color: #222;
}

/* Sidebar */
aside.sidebar {
    width: 250px;
    background: #111;
    color: #eee;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

aside.sidebar h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    color: #1e90ff; /* Brader Filem gold */
}

aside.sidebar a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.3s ease;
}

aside.sidebar a.active,
aside.sidebar a:hover {
    background: #1e90ff;
    color: #111;
}

/* Submenu styles */
.submenu-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.submenu-link {
    font-size: 0.9rem;
    display: block;
    margin: 0.2rem 0;
    color: #ddd;
    text-decoration: none;
    font-weight: 500;
}

.submenu-link:hover {
    color: #1e90ff;
}

.submenu-link.active {
    color: #1e90ff;
    font-weight: 700;
}

/* Logout button */
aside.sidebar form button {
    margin-top: auto;
    background: transparent;
    border: none;
    color: #eee;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

aside.sidebar form button:hover {
    background: #1e90ff;
    color: #111;
}

/* Main content */
main.content {
    flex-grow: 1;
    padding: 3rem 2rem;
    background: #fefefe;
}

main.content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

main.content p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
}

main.content .info-list {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    max-width: 500px;
}

main.content .info-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

main.content .info-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

main.content .info-list strong {
    color: #111;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        min-height: auto;
        padding: 15px 10px;
    }

    .sidebar a {
        margin-bottom: 0.75rem;
        flex: 1 1 auto;
        text-align: center;
        border-radius: 20px;
    }

    .sidebar form button {
        margin-top: 1rem;
        border-radius: 20px;
    }

    .content {
        padding: 20px;
    }


    
}
