/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Header */
.navbar-brand {
    font-weight: bold;
    font-size: 1.4rem;
}

/* Jumbotron */
.jumbotron {
    border-radius: 0.5rem;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    background-color: #f8f9fa;
}

/* Cards */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

/* Buttons */
.btn {
    border-radius: 0.3rem;
    padding: 0.5rem 1.5rem;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Tables */
.table {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
}

/* Forms */
.form-control {
    border-radius: 0.3rem;
    padding: 0.5rem 1rem;
}

.form-label {
    font-weight: 500;
}

/* Player cards */
.player-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.player-card:hover {
    transform: translateY(-5px);
}

.player-card .position-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-weight: bold;
}

.player-card .stats {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.player-card .stats .stat {
    text-align: center;
}

.player-card .stats .stat .value {
    font-size: 1.2rem;
    font-weight: bold;
}

.player-card .stats .stat .label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Position colors */
.position-GK {
    background-color: #FFC107;
    color: #212529;
}

.position-DEF {
    background-color: #28A745;
    color: white;
}

.position-MID {
    background-color: #007BFF;
    color: white;
}

.position-FWD {
    background-color: #DC3545;
    color: white;
}

/* Skill bars */
.skill-bar {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
    margin-bottom: 1rem;
}

.skill-bar .fill {
    height: 100%;
    border-radius: 4px;
    background-color: #007BFF;
}

/* Squad formation visualization */
.pitch {
    background-color: #3D8C40;
    border-radius: 0.5rem;
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
}

.pitch .player-position {
    position: absolute;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.pitch .player-position:hover {
    transform: scale(1.1);
}

.pitch .player-position .number {
    font-weight: bold;
    font-size: 1.2rem;
}

.pitch .player-position .name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007BFF;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 