/* raddit_style.css - Custom styles for raddit.com */

/* Example override: Change header background color */
.header {
    background: #ffffff; /* White background to match logo */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add subtle shadow for separation */
}

/* Navigation Links - Dark text for white background */
.nav-link {
    color: #333333 !important;
}

.nav-link:hover {
    color: #e74c3c !important; /* Red hover effect */
}

/* Navigation Button Styles */
.nav-actions {
    margin-left: auto; /* Push to the right */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-actions .btn-add-review {
    background-color: #ff4757 !important; /* Pinkish Red */
    color: white !important;
    border: none;
    font-weight: 600;
}

.nav-actions .btn-add-review:hover {
    background-color: #e04050 !important;
}

.nav-actions .btn-login {
    background-color: transparent !important;
    border: 1px solid #ff4757 !important;
    color: #333 !important;
    font-weight: 600;
}

.nav-actions .btn-login:hover {
    background-color: #fff0f1 !important;
}

/* Mobile Menu Button - Always visible for Raddit */
.mobile-menu-btn {
    display: flex !important;
    margin-left: 1rem;
}

.mobile-menu-btn span {
    background: #333 !important; /* Dark bars for white header */
}

/* Navigation Links - Hidden by default (Dropdown style) */
.nav-links {
    display: none !important;
    position: fixed; /* Use fixed to stay with header */
    top: 70px; /* Fallback */
    top: 4.5rem; /* Approx header height */
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
    align-items: flex-start;
}

.nav-links.active {
    display: flex !important;
}

.nav-links .nav-link {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-links .nav-link:last-child {
    border-bottom: none;
}

/* Hero text color override if needed */
.hero-title {
    color: #f1c40f;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%; /* Position below the link */
    left: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 400;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #e74c3c; /* Match button color */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Adjust dropdown toggle appearance */
.dropdown-toggle {
    cursor: pointer;
}
.companies-section, .newsletter-section {    
    background-color: #fff0f1;
}
.table-header {
    background-color: #ffcbd2;
}
.rating-cell .stars {
    color: #ea1448;
}
.rating-cell .rating-number {
    background-color: #ea1448;
}