/* Coach Dashboard Styles */

/* Alert/Warning */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.alert-warning {
background: #fff3cd;
border: 1px solid #ffc107;
}

/* Dashboard Section */
.dashboard-section {
margin-top: 2rem;
}

.dashboard-section:first-child {
margin-top: 0;
}

.dashboard-section-heading {
display: flex;
flex-direction: column;
gap: 0.25rem;
margin-bottom: 1rem;
}

.dashboard-section-heading h2 {
margin-bottom: 0;
}

.dashboard-section-heading p {
color: #667085;
margin: 0;
}

.coach-tutorial-grid {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.coach-tutorial-card {
background: #fff;
border: 1px solid #e5e7eb;
border-radius: 8px;
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
overflow: hidden;
}

.coach-tutorial-video {
aspect-ratio: 16 / 9;
background: #0f172a;
width: 100%;
}

.coach-tutorial-video iframe {
border: 0;
display: block;
height: 100%;
width: 100%;
}

.coach-tutorial-card h3 {
color: #111827;
font-size: 1rem;
font-weight: 700;
margin: 0;
padding: 0.9rem 1rem 1rem;
}

.coach-admin-team-search {
display: flex;
flex-direction: column;
gap: 0.35rem;
margin-top: 1rem;
max-width: 460px;
}

.coach-admin-team-search label {
color: #374151;
font-size: 0.9rem;
font-weight: 700;
}

.coach-admin-team-search input {
background: #fff;
border: 1px solid #d1d5db;
border-radius: 8px;
font: inherit;
padding: 0.75rem;
width: 100%;
}

.coach-admin-team-search input:focus {
border-color: var(--primary-blue, #007bff);
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.14);
outline: none;
}

/* Teams Grid */
.teams-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
margin-top: 1rem;
}

/* Team Card */
.team-card {
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 1.5rem;
background: white;
box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.team-card--filtered {
display: none !important;
}

.team-card-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}

.team-card-logo {
width: 60px;
height: 60px;
object-fit: contain;
}

.team-card-title {
margin: 0;
font-size: 1.1rem;
font-weight: 600;
}

.team-card-meta {
color: #667;
margin: 0.5rem 0;
}

.team-card-meta-small {
color: #667;
margin: 0.5rem 0;
font-size: 0.9rem;
}

.team-card-actions {
margin-top: 1rem;
}

.team-card-button {
display: inline-block;
padding: 0.5rem 1rem;
background: var(--primary-blue, #007bff);
color: white;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: background-color 0.2s;
}

.team-card-button:hover {
background: #0056b3;
}

/* Empty State */
.coach-dashboard-empty {
color: #667;
margin-top: 1rem;
}

.coach-admin-filter-empty[hidden] {
display: none !important;
}

/* Requests List */
.requests-list {
margin-top: 1rem;
}

.request-item {
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
background: white;
}

.request-item-header {
display: flex;
justify-content: space-between;
align-items: center;
}

.request-item-content {
flex: 1;
}

.request-item-title {
margin: 0;
font-size: 1rem;
font-weight: 600;
}

.request-item-meta {
color: #667;
margin: 0.5rem 0;
}

.request-item-meta-small {
color: #999;
font-size: 0.9rem;
margin: 0;
}

/* Request Form */
.request-form {
max-width: 500px;
}

.request-form-group {
margin-bottom: 1rem;
}

.request-form-label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}

.request-form-input {
width: 100%;
padding: 0.75rem;
border: 1px solid #d1d5db;
border-radius: 8px;
font-size: 1rem;
}

.request-form-search-results {
margin-top: 0.5rem;
max-height: 300px;
overflow-y: auto;
border: 1px solid #e5e7eb;
border-radius: 8px;
display: none;
background: white;
box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.request-form-search-results.show {
display: block;
}

.team-result-item {
align-items: center;
background: white;
border: 0;
border-bottom: 1px solid #eef2f7;
cursor: pointer;
display: flex;
gap: 0.75rem;
padding: 0.75rem;
text-align: left;
width: 100%;
}

.team-result-item:hover {
background: #f8fafc;
}

.team-result-item:last-child {
border-bottom: 0;
}

.team-result-logo {
background: #f8fafc;
border: 1px solid #edf2f7;
border-radius: 8px;
height: 38px;
object-fit: contain;
padding: 0.25rem;
width: 38px;
}

.team-result-copy {
display: flex;
flex-direction: column;
gap: 0.15rem;
min-width: 0;
}

.team-result-copy strong {
color: #111827;
font-size: 0.95rem;
}

.team-result-copy span {
color: #667085;
font-size: 0.875rem;
}

.team-result-empty {
color: #667085;
padding: 0.75rem;
}

.request-form-submit {
padding: 0.75rem 1.5rem;
background: var(--primary-blue, #007bff);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
font-weight: 600;
transition: background-color 0.2s;
}

.request-form-submit:hover {
background: #0056b3;
}
  
