/* Global Styles*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #222;
    display: flex;
    flex-direction: column;
}
/* Layout*/
header {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.taskbar {
    background: #222;
    border-bottom: 2px solid #fff;
    padding: 0 0 0 0;
}

.taskbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    height: 48px;
}

.taskbar a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.taskbar a:hover {
    color: #ffd700;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
    color: #fff;
}


/* Main Containers*/
.main-layout {
    display: flex;
    min-height: 100vh;
    
    border: 2px solid #fff; /* Add this line */
    border-radius: 16px;
}

.side-column {
    display: flex;
    width: 500px;
    justify-content: center;   /* horizontal centering */
    padding: 10px;
    flex: 0 0 600px;
    background: #222;
    min-height: 100vh;
    
    border: 2px solid #fff; /* Add this line */
    border-radius: 16px;
}

.center-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

    border: 2px solid #fff; /* Add this line */
    border-radius: 16px;
}

/* Cards */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    padding: 0 10px;
}

#buzzsprout-small-player-limit-1, #snip-card {
    display: flex;
    background: #333;
    width: 50%;
    max-width: 640px;
    min-height: 225px;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    border: 2px solid #fff; /* Add this line */
    border-radius: 16px;
}

#snip-card {
    flex-direction: column;
    align-items: flex-start;
}

.feature-card {
    width: 100%;
    max-width: 1280px;
    margin: 40px auto 0 auto;
    background: #333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 16px;
    padding: 40px 24px;
    box-sizing: border-box;
    text-align: center;
}

.premcard {
    width: 99%;
    max-width: 600px;
    color: #fff;
    margin: 0;
    border-radius: 20px;
    padding: 0px 35px;
    text-align: center;
}

/*Snip Card Elements*/
#snip-card h2 {
    margin-bottom: 10px;
}

#snip-card h3 {
    margin-bottom: 10px;
}   

#snip-card p {
    text-align: center;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*Prem Table*/
.standings {
    border: 2px solid #fff;      /* thicker border */
    border-radius: 16px;         /* rounded corners */
}
.standings-table {
    background: #333;
    width: 100%;
    border-collapse: separate; /* allow border-radius */
    border-spacing: 0;
    margin-top: 20px;
    border: 3px solid #fff;      /* thicker border */
    border-radius: 16px;         /* rounded corners */
    overflow: hidden;            /* ensures corners are clipped */
    font-weight: bold;
}

.standings-table th, .standings-table td {
    padding: 8px;
    color: #fff;
    border-bottom: 1px solid #fff2;
    text-align: left;
}

.top-team {
    background: linear-gradient(135deg, #3557f1, #020455) !important;
    color: #fff !important;
}

.relegated {
    background: linear-gradient(135deg, #ac5c5c, #ff4d4d) !important;
    color: #fff !important;
}

/*Utilities*/
@media (max-width: 1100px) {
    .side-column {
        display: none !important;
    }
}