/* Admin ERP CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import 'prompt-style.css';

:root {
    --primary: #008040;
    --primary-dark: #004d26;
    --secondary: #2ecc71;
    --bg-light: #f3f4f6;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #9ca3af;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
}

@media (max-width: 768px) {

    .col-6,
    .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    height: 100vh;
    overflow: hidden;
}

/* Auth Screen */
.screen {
    display: none;
    height: 100vh;
}

.screen.active {
    display: flex;
}

#auth-screen {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    align-items: center;
    justify-content: center;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo-area {
    margin-bottom: 30px;
}

.logo-area img {
    height: 80px;
    margin-bottom: 10px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
}

.btn-login,
.btn-save {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover,
.btn-save:hover {
    background-color: var(--primary-dark);
}

.error-msg {
    color: var(--danger);
    margin-top: 15px;
    font-size: 0.9rem;
}

.auth-options {
    color: var(--text-dark);
}

.auth-options input[type="checkbox"] {
    margin-right: 5px;
}

/* Dashboard Layout */
#dashboard-screen {
    display: flex;
    /* Sidebar + Main */
}

/* Sidebar toggled state for mobile logic handled via media queries mostly, but we add a class if needed */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--white);
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100vh;
    position: relative;
    z-index: 100;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-header img {
    height: 40px;
    margin-right: 10px;
}

.sidebar-header span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.sidebar-nav {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.nav-btn {
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: 0.2s;
    display: none;
    /* Changed from flex to none to prevent flicker */
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar.collapsed .nav-btn {
    justify-content: center;
    padding: 12px 0;
}

.sidebar.collapsed .nav-btn i {
    font-size: 1.2rem;
    margin: 0;
}

.sidebar.collapsed .sidebar-header span,
.sidebar.collapsed .nav-btn span,
.sidebar.collapsed .sidebar-footer button span,
.sidebar.collapsed #logout-btn span {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 0;
}

.sidebar.collapsed .sidebar-header img {
    margin: 0;
}

.sidebar-collapse-btn {
    position: absolute;
    right: -12px;
    top: 35px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 101;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
    transition: 0.3s;
}

.sidebar-collapse-btn:hover {
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sidebar.collapsed .sidebar-collapse-btn {
    transform: rotate(180deg);
}

.nav-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.nav-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

#logout-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
}

#logout-btn:hover {
    background: #fef2f2;
    color: var(--danger);
    border-color: var(--danger);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /* For mobile overlay z-index if needed */
}

.top-bar {
    height: 70px;
    background-color: var(--white);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.left-top-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- GLOBAL SEARCH STYLES --- */
.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    margin: 0 30px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f1f3f4;
    border-radius: 12px;
    padding: 0 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.search-input-wrapper:focus-within {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.search-input-wrapper i {
    color: #5f6368;
    font-size: 1rem;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    background: none;
    padding: 12px 10px;
    font-size: 0.95rem;
    color: #3c4043;
    outline: none;
}

#clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: 0.2s;
}

#clear-search:hover {
    color: var(--danger);
}

.search-results-overlay {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    display: none;
    padding: 10px 0;
    animation: searchSlideDown 0.2s ease-out;
}

.search-results-overlay.active {
    display: block;
}

@keyframes searchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-category {
    padding: 8px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #70757a;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: #f8f9fa;
    margin-top: 5px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.2s;
}

.search-result-item:hover {
    background: #f1f3f4;
}

.search-result-icon {
    width: 32px;
    height: 32px;
    background: #e8f0fe;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.search-result-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-weight: 500;
    font-size: 0.9rem;
    color: #202124;
}

.search-result-subtitle {
    font-size: 0.75rem;
    color: #70757a;
}


#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#content-area {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

/* Views Logic */
.view {
    display: none;
}

.view.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Cards & Widgets */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.dashboard-btn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
    /* responsive wrap */
    gap: 10px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.header-actions-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-toggle-btn {
    background: #eee;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
}

.view-toggle-btn.active {
    background: var(--primary);
    color: white;
}

.btn-action,
.btn-secondary {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.btn-action:hover,
.btn-secondary:hover {
    background-color: var(--primary);
}

#team-size-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: var(--text-dark);
    font-family: inherit;
    cursor: pointer;
    background-color: white;
}



/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.bg-blue {
    background-color: #3b82f6;
}

.bg-green {
    background-color: #10b981;
}

.bg-orange {
    background-color: #f59e0b;
}

.info h3 {
    font-size: 0.9rem;
    color: var(--text-light);
}

.info p {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

tr:hover {
    background-color: #f9fafb;
}

tr[style*="cursor: pointer"]:hover,
.clickable-row:hover,
.reg-row:hover,
.admin-row:hover {
    background-color: #f1f3f5 !important;
}

th {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.actions-cell button {
    margin-right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
}

.edit-btn {
    color: var(--primary);
}

.delete-btn {
    color: var(--danger);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    max-height: 90vh;
    /* Ensure modal fits on screen vertically */
    overflow-y: auto;
    /* Enable scroll inside modal if needed */
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Full Screen Modal Override */
.modal-full .modal-content {
    max-width: 100% !important;
    width: 100vw !important;
    max-height: 100vh !important;
    height: 100vh !important;
    border-radius: 0;
    margin: 0;
    padding: 0;
    /* Remove padding to manage it in body/footer */
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.modal-header-sticky {
    padding: 20px 30px;
    background: white;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-sticky h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.modal-footer-sticky {
    padding: 15px 30px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    /* Stacked */
    gap: 10px;
    z-index: 100;
}

.modal-full form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-full h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--primary);
}

.modal-full.active {
    padding: 0;
}

/* Tabs System */
.modal-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.tab-link {
    padding: 12px 20px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
    font-size: 1.1rem;
}

.tab-link:hover {
    color: var(--primary);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Analytics Layout */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analytics-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    text-align: center;
}

.analytics-card h5 {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.analytics-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-close-custom:hover {
    background: var(--primary) !important;
    color: white !important;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: black;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Image Preview Styles */
.image-preview-mt {
    margin-top: 10px;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    display: block;
}

/* Card Image Styles (Shared) */
.admin-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    transition: 0.3s;
}

.circle-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.logo-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 10px;
}

/* --- GRID VIEW MODE --- */
.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.view-grid .product-card-admin {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: white;
    transition: 0.3s;
}

.view-grid .product-card-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.view-grid .product-actions {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* --- LIST VIEW MODE --- */
.view-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.view-list .product-card-admin {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    gap: 20px;
    background: white;
    text-align: left !important;
}

.view-list .admin-card-img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    border-radius: 50% !important;
    margin: 0 !important;
}

.view-list .product-card-admin h4 {
    flex: 1;
    margin: 0;
    text-align: left;
}

.view-list .product-card-admin p {
    margin: 0;
    flex: 1;
    text-align: left;
    color: var(--text-light);
    font-size: 0.9rem;
}

.view-list .product-actions {
    margin: 0;
}

.btn-close-custom {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-close-custom:hover {
    background: rgba(0, 128, 64, 0.05) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}



.modal-footer-sticky .btn-save {
    transition: all 0.3s ease;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-footer-sticky .btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 64, 0.3);
}

.modal-header-sticky h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.btn-icon:hover {
    transform: scale(1.1);
}

.text-danger {
    color: var(--danger);
}



.view-list .product-actions {
    margin: 0;
}

.toolbar {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.teams-output {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.team-group {
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.team-group h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.team-list {
    list-style: none;
}

.team-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .sidebar {
        /* Mobile: Hidden by default, slides in */
        position: fixed;
        left: -250px;
        z-index: 1000;
        height: 100vh;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .sidebar.mobile-visible {
        left: 0;
    }

    .top-bar {
        padding: 0 15px;
    }

    #mobile-menu-btn {
        display: block;
        /* Show hamburger */
    }

    #page-title {
        font-size: 1.2rem;
    }

    #content-area {
        padding: 0;
    }

    /* Adjust Grid for Mobile */
    .view-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .view-list .product-card-admin {
        flex-direction: column;
        /* Stack items in list view on very small screens? or keep row? row is better for list usually */
        align-items: flex-start;
    }

    .view-list .product-card-admin img {
        width: 40px;
        height: 40px;
    }

    .view-list .product-card-admin .product-actions {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

/* Quill Editor Styles */
.ql-toolbar.ql-snow {
    border-color: #ddd !important;
    background: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.ql-container.ql-snow {
    border-color: #ddd !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
}

.ql-editor {
    min-height: 150px;
}

/* Stats Reorder Group */
.stats-grid,
.stats-reorder-group {
    margin-top: 100px !important;
}

/* Players Grid View Improvements */
#players-directory-list.view-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

#players-directory-list .product-card-admin {
    padding: 20px;
    min-height: 280px;
}

#players-directory-list .product-card-admin h4 {
    font-size: 1.1rem !important;
    margin: 12px 0 8px 0 !important;
    font-weight: 600;
}

#players-directory-list .product-card-admin p {
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
}

/* Fix list view action buttons visibility */
.actions-cell .btn-action {
    color: var(--primary) !important;
    background: transparent !important;
    padding: 0 5px;
}

.actions-cell .btn-action:hover {
    color: var(--secondary) !important;
    background: transparent !important;
    transform: scale(1.1);
}

.actions-cell .btn-danger {
    color: var(--danger) !important;
    background: transparent !important;
}

.actions-cell .btn-danger:hover {
    color: #b91c1c !important;
    /* darker red */
    transform: scale(1.1);
}

/* Fix Grid View Buttons Consistency */
.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.product-actions .btn-action,
.product-actions .btn-danger {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    color: white !important;
}

.product-actions .btn-action {
    background-color: var(--secondary) !important;
}

.product-actions .btn-danger {
    background-color: var(--danger) !important;
}

.product-actions .btn-action:hover {
    background-color: var(--primary) !important;
    transform: translateY(-2px);
}

.product-actions .btn-danger:hover {
    background-color: #d32f2f !important;
    transform: translateY(-2px);
}

/* --- TEAMS MULTI-COLUMN LAYOUT --- */
.teams-columns-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

.team-gender-column {
    flex: 1;
    background: #fdfdfd;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #eee;
    min-width: 0;
}

.team-gender-column .column-title {
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #eee;
}

.team-card .admin-card-img {
    display: none;
}

.team-gender-column.column-masculin {
    background-color: #f0f7ff;
    border-color: #d0e4ff;
}

.team-gender-column.column-feminin {
    background-color: #fff0f6;
    border-color: #ffd6e7;
}

.team-gender-column.column-mixte {
    background-color: #f8f0ff;
    border-color: #efdbff;
}

@media (max-width: 900px) {
    .teams-columns-container {
        flex-direction: column;
    }

    .team-gender-column {
        width: 100%;
    }
}