.ecl-wrapper { font-family: sans-serif; color: #333; max-width: 100%; margin: 0 auto; }
.ecl-top-bar { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 15px; border-bottom: 2px solid #eee; }
.ecl-top-actions { display: flex; gap: 8px; }
.ecl-logout-btn, .ecl-season-btn, .ecl-export-btn, .ecl-backup-btn { padding: 8px 12px; border-radius: 4px; text-decoration: none; font-size: 11px; font-weight: bold; color: white !important; cursor: pointer; border: none; }
.ecl-logout-btn { background: #666; }
.ecl-season-btn { background: #d32f2f; }
.ecl-export-btn { background: #28a745; }
.ecl-backup-btn { background: #0277bd; }

.ecl-login-box { max-width: 320px; margin: 60px auto; padding: 25px; border: 1px solid #ddd; border-radius: 10px; background: #fff; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.ecl-login-box input { display: block; width: 90%; margin: 10px auto; padding: 10px; border: 1px solid #ccc; border-radius: 5px; }
.ecl-login-box button { width: 95%; background: #0073aa; color: white; border: none; padding: 10px; border-radius: 5px; cursor: pointer; }

.ecl-summary-btn { background: #0073aa; color: white; padding: 10px; border-radius: 5px; cursor: pointer; font-weight: bold; margin-bottom: 10px; list-style: none; }
.ecl-inline-form { display: flex; flex-wrap: wrap; gap: 8px; background: #f8f8f8; padding: 15px; border-radius: 6px; margin-bottom: 15px; align-items: center; }
.ecl-inline-form input { padding: 6px; border: 1px solid #ccc; border-radius: 4px; }

.ecl-player-list { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.ecl-player-list th, .ecl-player-list td { border: 1px solid #ddd; padding: 8px; }

.ecl-scroll-area { overflow-x: auto; border: 1px solid #ccc; margin-top: 20px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.ecl-main-table { border-collapse: collapse; width: 100%; min-width: 1100px; table-layout: fixed; }
.ecl-main-table th, .ecl-main-table td { border: 1px solid #bbb; padding: 10px; text-align: center; width: 180px; vertical-align: top; }
.sticky-col { position: sticky; left: 0; background: #f9f9f9 !important; z-index: 10; width: 260px !important; text-align: left !important; border-right: 2px solid #ccc !important; }

.status-light-green { background-color: #e8f5e9 !important; color: #2e7d32; }
.status-orange { background-color: #fff3e0 !important; color: #ef6c00; }
.status-red { background-color: #ffebee !important; color: #c62828; }
.status-none { color: #dc3545; font-weight: bold; }
.cell-selected { outline: 3px solid #673ab7; outline-offset: -3px; }

.conf-final { display: block; font-size: 10px; font-weight: bold; margin-bottom: 3px; border-radius: 3px; padding: 2px; text-transform: uppercase; }
.conf-final.confirmed { background: #1b5e20; color: white; }
.conf-final.declined { background: #b71c1c; color: white; }

.ecl-stats { font-size: 11px; margin-top: 4px; color: #333; background: #fff; padding: 1px 3px; border-radius: 2px; border: 1px solid #ccc; }
.player-col { background: #0073aa; color: white; }
.ecl-team-display { margin-top: 6px; font-size: 11px; border-top: 1px dashed #673ab7; padding-top: 5px; text-align: left; line-height: 1.3; background: #fdfdfd; }

.ecl-selection-card { background: #fff; border: 1px solid #673ab7; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.sel-row { margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; }
.sel-row label { font-weight: bold; font-size: 12px; width: 60px; }
.sel-row select { flex: 1; padding: 4px; font-size: 12px; margin-left: 5px; }
.ecl-btn-save-sel { background: #673ab7; color: white; border: none; width: 100%; padding: 10px; border-radius: 5px; cursor: pointer; font-weight: bold; }
.v-active { background: #1b5e20 !important; color: white; }
.x-active { background: #b71c1c !important; color: white; }