body {
    background-color: #1a1a1a;
}

.main-content {
    flex-grow: 1;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.movie-poster {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#carouselExampleIndicators {
    border-radius: 15px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    pointer-events: none;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    width: 25px;
    height: 4px;
    margin: 0 4px;
    border-radius: 2px;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #ffffff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    background-repeat: no-repeat;
    background-position: center;
}

.form-signin {
    max-width: 400px;
    padding: 1rem;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--bs-primary);
}

.btn-primary {
    --bs-btn-bg: #0d6efd;
    --bs-btn-border-color: #0d6efd;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100) brightness(200%);
}

/* Bottom Mobile Navigation */
.mobile-nav {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 8px 4px; /* Add some padding to the container bar */
}

.mobile-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 4px; /* Add margin to space out the buttons */
    padding: 8px 4px;
    color: #f8f9fa;
    text-decoration: none;
    font-size: 0.75rem;
    background-color: #343a40; /* Individual background for each button */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.2s;
}

.mobile-nav .nav-item i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.mobile-nav .nav-item:hover {
    background-color: #495057;
}

/* Show the mobile nav only on smaller screens */
@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        justify-content: space-around;
    }

    body {
        padding-bottom: 80px; /* Adjust body padding to prevent content from being hidden */
    }
}

@media (max-width: 991.98px) {
  /* Position the navbar's container to anchor the absolute menu */
  .navbar > .container {
    position: relative;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%; /* Position below the navbar */
    right: 0;
    z-index: 1000; /* Ensure it's on top */
    width: auto;
  }

  /* Style the list of navigation items as the floating panel */
  .navbar-collapse .navbar-nav {
    padding: 1rem;
    margin-top: 0.5rem;
    background-color: rgba(33, 37, 41, 0.95);
    border-radius: 0.375rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
} 

/* --- Login & Auth Page Styles --- */

.auth-page-body {
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

.auth-header {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8f9fa;
    padding: 1rem 0;
}

.auth-header img {
    height: 2.2rem;
    margin-right: 0.5rem;
    vertical-align: text-bottom;
}

.auth-card {
    background-color: #2b3035; /* Dark card background */
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 2rem auto;
}

.auth-card .nav-pills .nav-link {
    color: #adb5bd; /* Lighter text for inactive tabs */
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: none;
}

.auth-card .nav-pills .nav-link.active {
    background-color: #198754; /* Green background for active tab */
    color: #ffffff;
}

.auth-card .text-muted {
    color: #adb5bd !important; /* Override bootstrap's muted color */
}

.auth-card h2, .auth-card .form-label {
    color: #f8f9fa; /* White text for titles and labels */
}

.auth-card .form-control {
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    height: auto;
    border: 1px solid #495057;
    background-color: #212529; /* Dark input background */
    color: #f8f9fa; /* White input text */
}
.auth-card .form-control:focus {
    background-color: #343a40;
    border-color: #198754; /* Green focus border */
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}
.auth-card .form-control::placeholder {
    color: #6c757d;
}


.auth-btn {
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    background-color: #198754; /* Green button */
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.2);
}

.auth-btn:hover {
    background-color: #157347;
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.auth-links a {
    color: #20c997; /* Light green for links */
    text-decoration: none;
    font-weight: 500;
}
.auth-links a:hover {
    text-decoration: underline;
} 