/* Layout - Dashboard, tabs, grids, and page structure */

/* Welcome Screen */
.welcome-content {
    text-align: center;
    color: white;
}

.welcome-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Dashboard */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
}

.tab-btn {
    background: #111037;
    border: none;
    padding: 15px 25px;
    color: white;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    font-weight: bold;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #D91B5B;
    font-weight: bold;
}

.tab-btn[data-tab="draws"].active {
    color: #D91B5B !important;
}

.tab-content {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
}

/* Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.nav-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    color: #333;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.nav-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
    display: block;
}

.nav-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.nav-card p {
    margin: 0;
    opacity: 0.8;
    line-height: 1.5;
}

/* Data Lists */
.data-list {
    display: grid;
    gap: 20px;
}

.data-item {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.data-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.data-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.data-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-item-actions {
    display: flex;
    gap: 10px;
}

.data-item-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 4px;
}

.info-value {
    font-weight: 600;
    color: #2c3e50;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: none !important;
}

.dashboard-card.calendar-card {
    grid-column: span 2;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #111037 !important;
    color: white;
    transition: all 0.3s ease;
}

.card-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

/* Competition Info Banner */
.competition-info-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 2rem;
    opacity: 0.8;
}

.info-card h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.info-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Player Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: none !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    position: relative;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.club-badge {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.player-details h2 {
    margin: 0;
    font-size: 1.8rem;
}

.club-name {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-weight: 500;
}

.quick-actions {
    display: flex;
    gap: 10px;
}

.game-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid var(--club-primary, #667eea);
}

.game-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-teams {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.game-details {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.game-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 0.9rem;
}

.game-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.poll-item {
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: rgba(var(--club-primary-rgb, 102, 126, 234), 0.1);
    border-left: 4px solid var(--club-primary, #f39c12);
}

.poll-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.poll-details {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.poll-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #856404;
    font-size: 0.9rem;
}

.poll-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.empty-message {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

/* Mini Calendar Styles */
.mini-calendar {
    background: white;
}

.mini-calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--club-primary, #667eea);
}

.mini-day-header {
    padding: 8px;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
}

.mini-calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.mini-calendar-day {
    min-height: 35px;
    padding: 4px;
    border: 1px solid #e9ecef;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mini-calendar-day.other-month {
    background: #f8f9fa;
    color: #6c757d;
}

.mini-calendar-day.today {
    background: #e3f2fd;
    border-color: #2196f3;
    font-weight: bold;
}

.mini-calendar-day.has-games {
    background: #fff3e0;
    border-color: #ff9800;
}

.mini-day-number {
    font-size: 12px;
    font-weight: 500;
}

.game-dot {
    width: 6px;
    height: 6px;
    background: #ff9800;
    border-radius: 50%;
    margin-top: 2px;
}