.ofp-portal {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

.ofp-tab-panel.foul-panel {
    width: 1500px;
    max-width: 1500px;
    margin: 0 auto;
}

.ofp-games {
    display: grid;
    gap: 16px;
}

.ofp-game-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
}

.ofp-game-header {
    font-size: 18px;
    margin-bottom: 10px;
}

.ofp-game-meta div {
    margin-bottom: 4px;
    font-size: 14px;
}

.ofp-module-statuses {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ofp-module-statuses span {
    background: #f3f3f3;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
}

.ofp-crew-details {
    margin-top: 14px;
}

.ofp-crew-list {
    margin-top: 10px;
}

.ofp-crew-member {
    margin-bottom: 6px;
}

.ofp-game-actions {
    margin-top: 16px;
}

.ofp-game-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.ofp-game-title {
    font-size: 18px;
    font-weight: 700;
}

.ofp-game-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

.ofp-game-position {
    background: #eef5fb;
    color: #155a8a;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.ofp-game-actions a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #0073aa;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
}

.ofp-module-pill {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    background: #f6f7f7;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 130px;
}

.ofp-module-pill:hover {
    background: #eef5fb;
    border-color: #9cc4e4;
}

.ofp-module-label {
    font-size: 13px;
    font-weight: 700;
    color: #222;
}

.ofp-module-status {
    font-size: 12px;
    color: #666;
    text-transform: capitalize;
}

.ofp-crew-details {
    margin-top: 14px;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.ofp-crew-details summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: #155a8a;
}

.ofp-crew-list {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.ofp-crew-member {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #fafafa;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
}

.ofp-crew-position {
    font-weight: 700;
    color: #333;
}

.ofp-crew-name {
    color: #555;
}

.ofp-workspace-nav {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ofp-workspace-tab {
    border: 1px solid #ccc;
    background: #f6f7f7;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.ofp-workspace-tab.is-active {
    background: #155a8a;
    color: #fff;
    border-color: #155a8a;
}

.ofp-workspace-panel {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    overflow: visible;
}

.ofp-tab-panel.foul-panel {
    width: 1500px;
    max-width: 1500px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.ofp-form-row {
    margin-bottom: 16px;
}

.ofp-form-row label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.ofp-form-row textarea {
    width: 100%;
    min-height: 90px;
}

.ofp-form-actions {
    display: flex;
    gap: 10px;
}

.ofp-form-actions button {
    border: 1px solid #155a8a;
    background: #155a8a;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.ofp-module-statuses {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.ofp-module-pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 999px;
    text-decoration: none;
    background: #f8f8f8;
}

.ofp-module-label {
    font-weight: 600;
}

.ofp-module-status {
    font-size: 0.85em;
    opacity: 0.8;
}

.ofp-submitted-report {
    max-width: 900px;
}

.ofp-submitted-report p {
    font-size: 15px;
    line-height: 1.45;
    margin: 6px 0 14px;
}

.ofp-submitted-report > p:first-child {
    font-size: 16px;
    margin-bottom: 8px;
}

.ofp-report-readonly-section {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0;
    background: #ffffff;
}

.ofp-report-readonly-section h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ofp-report-readonly-section p {
    font-size: 14px;
    margin: 0;
    color: #334155;
}

.ofp-individual-feedback-readonly {
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 12px 0;
    background: #f8fafc;
}

.ofp-individual-feedback-readonly strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    color: #0f172a;
}

.ofp-individual-feedback-readonly p {
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.ofp-report-section-divider {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dbe4ee;
    color: #0f172a;
}

.ofp-textarea {
    font-size: 16px;   /* adjust as desired */
    line-height: 1.4;
    font-family: inherit;
}

.crew-feedback-display {
    font-size: 16px;        /* adjust as desired */
    line-height: 1.5;
    background-color: #f9f9f9; /* optional subtle background */
    padding: 8px;
    border-radius: 4px;
    white-space: pre-wrap;  /* preserves spacing */
}

.crew-game-report-field,
.crew-feedback-display {
    font-size: 16px;
    line-height: 1.5;
    background-color: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
    white-space: pre-wrap; /* preserve line breaks */
}

.home-team-reports {
    margin-top: 40px;
    border-top: 2px solid #ccc;
    padding-top: 20px;
}

.home-team-reports h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.reports-list .report-card {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 6px;
    background-color: #fafafa;
    cursor: pointer;
}

.home-team-reports-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    overflow: auto;
}

.home-team-reports-modal .modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 6px;
}

.close-modal {
    float: right;
    font-size: 24px;
    cursor: pointer;
}