.teams-container {
    max-width: 1200px;
    margin: 0 auto;
}

.create-team-section {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border: 2px solid #667eea30;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.create-team-section h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.team-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-form label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 14px;
}

.team-form input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.team-form input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn-create-team {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-create-team:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.team-section {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-section h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.teams-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #8e44ad;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.team-info strong {
    color: #2c3e50;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.team-meta {
    color: #7f8c8d;
    font-size: 13px;
}

.btn-view-team {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-view-team:hover {
    background-color: #2980b9;
    transform: translateX(3px);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #95a5a6;
    font-style: italic;
}

@media(max-width: 992px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    .team-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-create-team {
        width: 100%;
    }
    
    .team-card {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .btn-view-team {
        width: 100%;
        text-align: center;
    }
}