body {
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f4f4f8;
    color: #1a1a1a;
    margin: 0;
    padding: 0 24px 40px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

header h1 { margin: 0; font-size: 28px; }
header a.brand { text-decoration: none; color: #1a1a1a; }

nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

nav a {
    padding: 10px 18px;
    border-radius: 8px;
    background: #d9d9e3;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
}

nav a.active { background: #3d3d3d; color: #fff; }

.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #eee; }
th { background: #ececf2; }

form.inline { display: inline; }

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: #5b3df5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn.secondary { background: #3d3d3d; }
.btn.decline { background: #b3243c; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select { width: 100%; max-width: 400px; padding: 8px 10px; border: 1px solid #ccc; border-radius: 6px; }

.flash { background: #fff3cd; border: 1px solid #ffe58f; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }

.role-cards { display: flex; gap: 20px; }
.role-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.badge { padding: 3px 10px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.badge.pending { background: #ffe58f; }
.badge.accepted { background: #b7eb8f; }
.badge.declined { background: #ffa39e; }

.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-header h2 { margin: 0; }
.cal-table { width: 100%; table-layout: fixed; border-spacing: 6px; border-collapse: separate; background: none; }
.cal-table th { background: #ff6b6b; color: #fff; border-radius: 8px; padding: 8px; text-align: center; }
.cal-cell { vertical-align: top; background: #fff; border-radius: 8px; padding: 6px; height: 90px; border: 1px solid #e2e2ea; }
.cal-cell.empty { background: transparent; border: none; }
.cal-day-num { font-weight: 700; font-size: 13px; color: #666; margin-bottom: 4px; }
.cal-fight { background: #eee6ff; border-radius: 6px; padding: 3px 6px; font-size: 11px; margin-bottom: 3px; line-height: 1.3; }

.fighter-photo, .gym-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 8px; background: #ddd; }
.gym-photo { border-radius: 8px; width: 60px; height: 44px; }
.profile-photo { width: 140px; height: 140px; border-radius: 12px; object-fit: cover; background: #ddd; }
.profile-header { display: flex; gap: 20px; align-items: center; }
.filters { display: flex; gap: 10px; align-items: center; }
