@tailwind base;
@tailwind components;
@tailwind utilities;

/* Netflix vibe */
:root { color-scheme: dark; }
body { background: #141414; color: #fff; }

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #141414;
}

.logo a {
    color: #e50914;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
}

.header-right {
    position: relative;
}

.profile-avatar {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    cursor: pointer;
}

.profile-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #181818;
    padding: 10px;
    min-width: 160px;
    border-radius: 6px;
}

.dropdown-menu a,
.dropdown-menu button {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background: #333;
}

.profile-dropdown:hover .dropdown-menu {
    display: block;
}

header, .header, .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-dropdown {
    position: relative;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #181818;
    padding: 10px;
    border-radius: 6px;
}

.dropdown-menu a,
.dropdown-menu button {
    display: block;
    padding: 8px 12px;
    color: white;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.profile-dropdown:hover .dropdown-menu {
    display: block;
}