/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;700&display=swap');

body {
    font-family: 'Josefin Sans', sans-serif !important;
    background-color: #13092d !important;
    margin: 0;
    padding: 0;
}

.auth-container-wrapper {
    margin: 0;
    padding: 0;
    padding-top: 120px;
    display: contents;
    justify-content: center;
    align-items: flex-start;
    justify-self: center;
    height: 100vh;
    position: relative;
}

.auth-box {
    justify-self: center !important;
    background-color: #1f0747;
    border: 3px solid #0295f0;
    border-radius: 25px;
    box-shadow: inset 0 0 20px rgba(2, 149, 240, 0.8);
    padding: 30px;
    text-align: center;
    width: 550px;
    position: relative;
    margin-top: 150px;
    margin-bottom: 50px;
}

.auth-trophy {
    width: 260px;
    height: 260px;
    margin: auto;
    background: url(/images/fpl-logo.png) no-repeat center center;
    background-size: contain;
}

/* Title */
.auth-title {
    color: white;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 0px;
}

.auth-subtitle {
    color: white;
    font-size: 18px;
    margin-bottom: 30px;
}

.auth-subsubtitle{
    font-size: 18px;
    color: white;
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #0295f0;
    box-shadow: inset 0 0 5px rgba(2, 149, 240, 0.8);
    border-radius: 20px;
    background-color: #1f0747;
    color: #ffffff;
    outline: none;
    height: 55px;
}

.form-group input::placeholder {
    color: #e2ebff;
    opacity: 0.7;
    padding-left: 10px;
}

/* Button */
.auth-box .btn-primary {
    font-size: 22px;
    background-color: #52d316;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    width: 60%;
}

.auth-box .btn-primary:hover {
    background-color: #52d316;
}

/* Text */
.auth-box p {
    color: #e2ebff;
    font-size: 16px;
    opacity: 0.7;
}

/* Links */
.auth-box a {
    color: #fa009f;
    text-decoration: none;
}

.auth-box a:hover {
    color: #fa009f;
    text-decoration: none;
}

/* Adjustments for Small Screens */
@media screen and (max-width: 576px) {
    .auth-box {
        width: 100%;
        padding: 20px;
        justify-self: center !important;
    }
    .auth-trophy {
        width: 100px;
        height: 100px;
        top: -70px;
    }
}


.main-content {
    color: white;
    background-color: #13092d;
}

.left-sidebar, .right-sidebar {
    background-color: #1f0747;
    border-radius: 10px;
    padding: 20px;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #0295f0;
}

.user-name {
    color: #ffffff;
    font-weight: bold;
}

.user-role {
    color: #52d316;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    background-color: #2c1654;
}

.sidebar-menu li a:hover {
    background-color: #0295f0;
}

.hero-section h1 {
    font-size: 2rem;
    color: #f0b64c;
}

.feature-card {
    background-color: #2c1654;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
}

.feature-card h5 {
    color: #ffffff;
    font-weight: bold;
}

.browse-leagues .league-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.browse-leagues .league-btn {
    border-radius: 50px;
    padding: 5px 20px;
    background-color: #2c1654;
    color: #ffffff;
    border: 2px solid #0295f0;
}

.active-leagues .league-card {
    background-color: #2c1654;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
    color: white;
}

/* Sidebars */
.left-sidebar,
.right-sidebar {
    background-color: #1f0747;
    border-radius: 10px;
    color: white;
    padding: 20px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #0295f0;
}

.user-name {
    font-weight: bold;
    margin-top: 10px;
}

.user-role {
    color: #52d316;
    font-size: 14px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu li a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    background-color: #2c1654;
}

.sidebar-menu li a:hover {
    background-color: #0295f0;
}

.top-leagues {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.league-item {
    font-size: 14px;
    margin-bottom: 10px;
}

.league-name {
    color: #ffffff;
}

.league-points {
    color: #52d316;
    font-weight: bold;
}

/* Header */
.header {
    background-color: #1f0747; /* Dark purple background */
    color: white;
    padding: 15px 0;
    margin: 15px 15px;
    border-radius: 10px;
}

.logo {
    height: 40px;
}

/* News Ticker */
.news-ticker-wrapper {
    background-color: #2c1654; /* Background color for ticker */
    padding: 0px 10px 0px 0px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.ticker-btn {
    background-color: #0295f0;
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    padding: 5px 10px;
    margin-right: 10px;
    font-size: 14px;
}

.news-slider-wrapper {
    background: #13092d;
    padding: 2px 10px;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    margin: 0 10px;
}

.news-slider {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease;
}

.news-slider li {
    font-size: 14px;
    font-weight: bold;
    color: white;
    padding-right: 30px;
    white-space: nowrap;
}

.ticker-nav {
    display: flex;
}

/* Navigation Buttons */
.ticker-nav button {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-nav button:hover {
    background-color: #0295f0;
    color: white;
}

/* Buttons */
.btn-green {
    background-color: #52d316;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
}

.btn-pink {
    background-color: #fa009f;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
}

/* Sidebar */
.left-sidebar {
    background-color: #1f0747;
    color: white;
    border-radius: 10px;
    padding: 20px;
    height: 100vh; /* Full height */
    overflow-y: auto; /* Scrollable if content exceeds height */
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.stat-card {
    text-align: center;
    flex: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
}

.stat-title {
    font-size: 14px;
    color: #aaa;
    margin: 5px 0;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

/* User Dropdown */
.user-section {
    margin-top: 15px;
}

.user-dropdown {
    background-color: #2c1654;
    color: white;
    border: 1px solid #ffffff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.user-dropdown:hover {
    background-color: #0295f0;
    color: white;
}

.dropdown-menu {
    background-color: #2c1654;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    color: #aaa;
    font-size: 14px;
    padding: 10px 15px;
    text-decoration: none;
}

.dropdown-menu .dropdown-item:hover {
    color: white;
    background-color: #0295f0;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.menu-item {
    margin-bottom: 10px;
}

.menu-link {
    display: block;
    padding: 10px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    background-color: #2c1654;
    font-weight: bold;
}

.menu-link i {
    margin-right: 10px;
}

.menu-link:hover {
    background-color: #0295f0;
}

.submenu {
    list-style: none;
    padding-left: 20px;
    margin: 5px 0;
}

.submenu li {
    margin-bottom: 5px;
}

.submenu li a {
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
}

.submenu li a:hover {
    color: #ffffff;
}

/* Cards Section */
.cards-section {
    text-align: center;
    margin-top: 40px;
}

.cards-icon {
    width: 100px;
    height: auto;
}

/* Footer Links */
.footer-menu {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu li a i {
    margin-right: 10px;
}

.footer-menu li a:hover {
    color: #0295f0;
}


/* Right Sidebar */
.right-sidebar {
    background-color: #1f0747;
    color: white;
    border-radius: 10px;
    padding: 20px;
    height: 100vh; /* Full height */
    overflow-y: auto; /* Scrollable if content exceeds height */
}

/* Section Titles */
.section-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    margin-bottom: 15px;
}

/* Top Players Section */
.top-players-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.player-details {
    display: flex;
    align-items: center;
}

.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #0295f0;
}

.player-name {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

.player-points {
    font-size: 12px;
    color: #aaa;
}

.player-trophy {
    width: 20px;
    height: 20px;
}

/* Active Leagues Section */
.active-leagues-section .league-card {
    background-color: #2c1654;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

.league-header {
    display: flex;
    align-items: center;
}

.league-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.league-name {
    font-size: 14px;
    font-weight: bold;
    color: white;
}

.league-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.league-timer {
    font-size: 12px;
    color: #aaa;
}

.join-button {
    background-color: #8300e9;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}

.join-button:hover {
    background-color: #9d00ff;
}

/* Sponsors Section */
.sponsors-section .sponsor-card {
    background-color: #2c1654;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #0295f0;
}
