/* Draft History Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Stats Section */
.stats-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-header {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-header h3 i {
    color: #fbbf24;
}

.stats-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* Draft Summary */
.draft-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.draft-summary p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.draft-summary p strong {
    color: #fbbf24;
    font-size: 1.2rem;
}

.draft-summary p em {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Table Container */
.table-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

/* Draft History Table */
.draft-history-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
}

.draft-history-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.draft-history-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.draft-history-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.draft-history-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.draft-history-table tbody tr:last-child {
    border-bottom: none;
}

.draft-history-table td {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.draft-history-table .no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 2rem;
}

/* Draft Results Table - Specific styling for draft-year.html */
.draft-results-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.draft-results-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.draft-results-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.draft-results-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.draft-results-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.draft-results-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.draft-results-table tbody tr:last-child {
    border-bottom: none;
}

.draft-results-table td {
    padding: 1.2rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.draft-results-table td:nth-child(1) { /* Round */
    font-weight: bold;
    color: #ffffff;
    font-size: 1.1rem;
    text-align: left;
}

.draft-results-table td:nth-child(2) { /* Pick */
    font-weight: bold;
    color: #ffffff;
    font-size: 1.1rem;
    text-align: left;
}

.draft-results-table td:nth-child(3) { /* Team */
    text-align: left;
    font-weight: bold;
    color: #ffffff;
}

.draft-results-table td:nth-child(4) { /* Player */
    text-align: left;
    font-weight: bold;
    color: #ffffff;
}

.draft-results-table td:nth-child(5) { /* College */
    text-align: left;
    color: #ffffff;
    font-weight: bold;
}

.draft-results-table .no-data {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    padding: 3rem;
    font-size: 1.1rem;
}

/* Table Column Widths */
.draft-history-table th:nth-child(1), /* Year */
.draft-history-table td:nth-child(1) {
    width: 15%;
}

.draft-history-table th:nth-child(2), /* Team */
.draft-history-table td:nth-child(2) {
    width: 35%;
}

.draft-history-table th:nth-child(3), /* First Overall Pick */
.draft-history-table td:nth-child(3) {
    width: 50%;
}

/* Links in Draft Table */
.draft-year-link,
.team-link,
.player-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    display: inline-block;
}

.draft-year-link:hover,
.team-link:hover,
.player-link:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.draft-year-link {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

.draft-year-link:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.team-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.team-link:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.player-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
}

.player-link:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.school-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    display: inline-block;
}

.school-link:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

/* Breadcrumb Navigation Styles */
.breadcrumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb a {
    color: #1e3a8a;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.breadcrumb a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.breadcrumb a:hover::before {
    left: 100%;
}

.breadcrumb a:hover {
    color: #1e3a8a;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.breadcrumb span {
    color: #fbbf24;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
    position: relative;
    overflow: hidden;
}

.breadcrumb span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: breadcrumb-shimmer 3s infinite;
}

@keyframes breadcrumb-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.breadcrumb span {
    position: relative;
    z-index: 1;
    color: #1e3a8a;
}

/* Draft Navigation Styles */
.draft-navigation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.draft-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.draft-nav-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    color: #1e3a8a;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}

.draft-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.draft-nav-btn:hover::before {
    left: 100%;
}

.draft-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.draft-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.draft-nav-btn:disabled {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.6;
}

.draft-nav-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.draft-nav-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.draft-nav-btn:hover i {
    transform: scale(1.1);
}

.draft-nav-current {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    padding: 1.5rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.draft-nav-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.draft-nav-current span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .stats-header {
        padding: 1rem;
    }

    .stats-header h3 {
        font-size: 1.3rem;
    }

    .draft-summary {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .table-container {
        padding: 1rem;
    }

    .draft-history-table th,
    .draft-history-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    /* Adjust column widths for mobile */
    .draft-history-table th:nth-child(1),
    .draft-history-table td:nth-child(1) {
        width: 20%;
    }

    .draft-history-table th:nth-child(2),
    .draft-history-table td:nth-child(2) {
        width: 30%;
    }

    .draft-history-table th:nth-child(3),
    .draft-history-table td:nth-child(3) {
        width: 50%;
    }

    /* Breadcrumb Mobile Styles */
    .breadcrumb {
        padding: 0.875rem 1.25rem;
        margin: 1.25rem 0;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .breadcrumb a,
    .breadcrumb span {
        padding: 0.4rem 0.8rem;
        border-radius: 18px;
    }

    /* Draft Navigation Mobile Styles */
    .draft-navigation {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .draft-nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .draft-nav-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        min-width: 120px;
    }

    .draft-nav-current {
        padding: 1.25rem 1.5rem;
        font-size: 1.25rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1.5rem 0;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .stats-section {
        padding: 0 1rem;
    }

    .draft-history-table {
        font-size: 0.85rem;
    }

    .draft-history-table th,
    .draft-history-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.85rem;
    }

    .draft-year-link,
    .team-link,
    .player-link {
        padding: 0.15rem 0.3rem;
        margin: -0.15rem -0.3rem;
    }

    /* Breadcrumb Small Mobile Styles */
    .breadcrumb {
        padding: 0.75rem 1rem;
        margin: 1rem 0;
        font-size: 0.85rem;
        gap: 0.4rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumb a,
    .breadcrumb span {
        padding: 0.35rem 0.7rem;
        border-radius: 15px;
        font-size: 0.8rem;
    }

    /* Draft Navigation Small Mobile Styles */
    .draft-navigation {
        padding: 1rem;
        margin: 1rem 0;
    }

    .draft-nav-container {
        gap: 0.75rem;
    }

    .draft-nav-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .draft-nav-current {
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
        min-width: 80px;
    }
} 