
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e1e;
    color: #e0e0e0;
}

header {
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.active {
    color: #ffd700;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #ffffff;
}

#coaches-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.coach-card {
    background: #2d2d2d;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    border: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
}

.card-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.username-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
}

.card-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
    text-align: center;
    text-decoration: underline;
    text-shadow: 0 0 5px #28a745, 0 0 10px #28a745;
}

.game-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    box-shadow: 0 0 5px #28a745;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 5px #28a745; }
    50% { transform: scale(1.2); box-shadow: 0 0 10px #28a745; }
    100% { transform: scale(1); box-shadow: 0 0 5px #28a745; }
}

.card-content {
    margin-bottom: 10px;
}

.rank-panel {
    border: 1px solid #a0a0a0;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 8px;
    background-color: #333333;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
}

.rank-panel, .rate-section {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
}

.rank-label, .rate-label {
    color: #a0a0a0;
    font-weight: bold;
}

.rank-value, .rate-value {
    color: #e0e0e0;
}
.edit-profile-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

#edit-my-profile-btn {
    padding: 8px 16px;
    font-size: 1em;
    background-color: #0082b2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


.bio-section {
    border: 1px solid #a0a0a0;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 8px;
    background-color: #333333;
    font-size: 0.9em;
    font-style: italic;
    color: #0082b2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}


.card-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.game-section {
    flex: 1;
    padding: 8px;
    border: 1px solid #a0a0a0;
    border-radius: 4px;
}

.lanes, .champions, .roles, .agents {
    margin-bottom: 8px;
}

.section-title {
    display: block;
    color: #a0a0a0;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 4px;
}

.images {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.profile-image {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
}

.champion-image, .agent-image {
    width: 45px;
    height: 45px;
}

.purchase-section {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.session-hours {
    padding: 8px;
    background-color: #2d2d2d;
    border: 1px solid #555;
    border-radius: 4px;
    color: #e0e0e0;
}

.total-price {
    font-weight: bold;
    color: #28a745;
}

.edit-coach-btn, .purchase-coach-btn {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    align-self: center;
}

.edit-coach-btn:hover, .purchase-coach-btn:hover {
    background-color: #0056b3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-content {
    background-color: #333;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    color: #e0e0e0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #ffffff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ffffff;
}

.form-group select, .form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #555;
    border-radius: 4px;
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.form-group select[multiple] {
    height: 100px;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.image-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.selected-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.lane-button, .role-button {
    background-color: #2d2d2d;
    color: #e0e0e0;
    border: 1px solid #555;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.lane-button.selected, .role-button.selected {
    background-color: #007bff;
    color: #ffffff;
    border-color: #0056b3;
}

.lane-button:hover, .role-button:hover {
    background-color: #0056b3;
    color: #ffffff;
}

button[type="submit"] {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
}

button[type="submit"]:hover {
    background-color: #218838;
}

.select2-container--default .select2-selection--multiple {
    background-color: #2d2d2d;
    border: 1px solid #555;
    border-radius: 4px;
    color: #e0e0e0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 5px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff;
    border: 1px solid #0056b3;
    color: #ffffff;
    border-radius: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff;
}

.select2-dropdown {
    background-color: #2d2d2d;
    border: 1px solid #555;
    color: #e0e0e0;
}

.select2-container--default .select2-results__option {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
    color: #ffffff;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #333;
    border: 1px solid #555;
    color: #e0e0e0;
}
game-section.lol-section,
.game-section.valorant-section {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
}
.game-section.lol-section .lanes,
.game-section.valorant-section .roles {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
}
.game-section .images {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
}
.profile-image {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
}
