﻿/* GhostDevy.styles.css */
header {
    background-color: #E36A3D;
    color: #F9F8F6;
}

footer {
    background-color: #E36A3D;
    color: #F9F8F6;
}

.navbar-light .navbar-brand {
    color: #F9F8F6;
}

.navbar-light .nav-link {
    color: #F9F8F6;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.center-text {
    text-align: center;
}

.footer-line {
    border-color: black;
}

.team-row {
    display: flex;
    align-items: stretch;
}

.team-section {
    display: flex;
    flex-direction: column;
}

.table-responsive {
    flex: 1;
}

.table-footer {
    margin-top: auto;
}

    .table-footer hr {
        margin-top: 1rem;
        margin-bottom: 1rem;
        border: 0;
        border-top: 2px solid #000000;
    }

.inactive-player {
    color: lightgray;
    font-style: italic;
}

.trade-rejection-message {
    color: #ff0000;
    text-align: center;
    padding-left: 1.0em;
    line-height: 1.5em;
    margin-bottom: 0.5em;
}

.sort-indicator {
    margin-left: 5px;
    float: right;
}

.sort-asc::after {
    content: "▲";
}

.sort-desc::after {
    content: "▼";
}

.sort-arrow {
    float: right;
}

.smaller-button {
    height: 25px;
    line-height: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

/* TradeReview page specific styles */
.trade-review-table th.from-franchise,
.trade-review-table td.from-franchise {
    width: 12%;
}

.trade-review-table th.players-picks,
.trade-review-table td.players-picks {
    width: 20%;
}

.trade-review-table th.to-franchise,
.trade-review-table td.to-franchise {
    width: 12%;
}

.trade-review-table th.expires-date,
.trade-review-table td.expires-date {
    width: 10%;
}

.trade-review-table th.desired-action,
.trade-review-table td.desired-action {
    width: 16%;
}

.allowed-positions {
    display: flex;
    flex-wrap: wrap;
}

.position-item {
    display: flex;
    align-items: center;
    width: 50%;
    margin-bottom: 10px;
}

    .position-item label {
        margin-left: 10px;
        margin-bottom: 0;
    }

/* New styles for the updated dashboard */
.league-row {
    transition: all 0.3s ease;
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

    .league-row:hover {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        z-index: 1;
        border-top-color: transparent;
        border-bottom-color: transparent;
    }

        .league-row:hover + .league-row {
            border-top-color: transparent;
        }

        .league-row:hover, .league-row.no-border-bottom {
            border-top-color: transparent;
            border-bottom-color: transparent;
        }

.league-name {
    font-size: 1.2em;
    font-weight: normal;
    margin-bottom: 5px;
    color: #666;
    transition: all 0.3s ease;
}

.team-name {
    font-size: 0.9em;
    color: #999;
    transition: all 0.3s ease;
}

.league-row:hover .league-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #000;
    letter-spacing: 3px;
}

.league-row:hover .team-name {
    font-size: 1.2em;
    color: #666;
}

.team-name a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.league-row:hover .team-name a {
    text-decoration: underline;
}

.button-container {
    display: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.league-row:hover .button-container {
    display: block;
}

.button-row {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

    .button-row .btn {
        margin: 5px;
    }

/* Dashboard-specific button styles */
.dashboard-btn {
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, transform 0.2s ease;
    margin: 5px;
    width: 180px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}

    .dashboard-btn:hover {
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .dashboard-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .dashboard-btn:focus {
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

    .dashboard-btn i {
        margin-right: 8px;
    }

.dashboard-btn-wide {
    width: 200px;
}

.dashboard-btn-skinny {
    width: 150px;
}
.dashboard-btn-amber {
    color: #212529;
    background-color: #e4ff1a;
    border-color: #e4ff1a;
}

.dashboard-btn-azure {
    color: #212529;
    background-color: #1be7ff;
    border-color: #1be7ff;
}

.dashboard-btn-caribbean-current {
    color: #212529;
    background-color: #6eeb83;
    border-color: #6eeb83;
}

.dashboard-btn-cool-gray-current-cancel {
    color: #212529;
    background-color: white;
    border-color: #ced4da;
}

.dashboard-btn-tiffany-blue {
    color: #212529;
    background-color: #ffb800;
    border-color: #ffb800;
}

.dashboard-btn-giants-orange {
    color: #212529;
    background-color: #ff5714;
    border-color: #ff5714;
}

/* Hover states */
.dashboard-btn-amber:hover {
    background-color: #d1eb18;
    border-color: #c5de17;
}

.dashboard-btn-azure:hover {
    background-color: #00d4eb;
    border-color: #00c7de;
}

.dashboard-btn-caribbean-current:hover {
    background-color: #4ce769;
    border-color: #41e560;
}

.dashboard-btn-cool-gray-current-cancel:hover {
    color: white;
    background-color: #6c757d;
    border-color: #6c757d;
}

.dashboard-btn-tiffany-blue:hover {
    background-color: #e6a600;
    border-color: #d99c00;
}

.dashboard-btn-giants-orange:hover {
    background-color: #e74d0e;
    border-color: #db490d;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.dashboard-btn-amber:not(.disabled) {
    animation: pulse 3s infinite;
}

@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-3px);
    }
}

.return-dashboard-btn {
    transition: box-shadow 0.2s ease;
    background-color: white;
    color: #0d6efd;
    border: 1px solid white;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    outline: none;
}

    .return-dashboard-btn:hover {
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
        text-decoration: none;
        color: #0d6efd;
    }

    .return-dashboard-btn:active {
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.1);
    }

    .return-dashboard-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

    .return-dashboard-btn i {
        margin-right: 5px;
        display: inline-block;
        transition: transform 0.3s ease;
        animation: arrowMove 0.6s ease infinite;
    }

    .return-dashboard-btn:hover i {
        animation: arrowMove 0.6s ease infinite;
    }
