/* Spond Coaches Access — auth screens + coach hub */

.spond-auth {
    display: flex;
    justify-content: center;
    padding: 40px 0 60px;
}

.spond-auth__card {
    width: 100%;
    max-width: 960px;
    min-height: 560px;
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.spond-auth__image {
    flex: 0 0 42%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.spond-auth__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.spond-auth__brand {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 32px;
}

.spond-auth__brand-badge {
    display: inline-block;
    background: #e21e22;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.spond-auth__brand p {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.spond-auth__panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    box-sizing: border-box;
}

.spond-auth__panel-inner {
    width: 100%;
    max-width: 360px;
}

.spond-auth__panel-inner h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #303030;
    margin: 0 0 8px;
}

.spond-auth__lede {
    color: #717171;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 28px;
}

.spond-auth__panel-inner label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 6px;
}

.spond-auth__field {
    margin-bottom: 20px;
}

.spond-auth__panel-inner input[type=email],
.spond-auth__panel-inner input[type=password],
.spond-auth__panel-inner input[type=text] {
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
    color: #303030;
    transition: border-color 0.2s ease;
}

.spond-auth__panel-inner input[type=email]:focus,
.spond-auth__panel-inner input[type=password]:focus,
.spond-auth__panel-inner input[type=text]:focus {
    outline: none;
    border-color: #e21e22;
}

.spond-auth__submit {
    width: 100%;
    background: #e21e22;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 13px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 8px;
}

.spond-auth__submit:hover {
    background: #b81619;
}

.spond-auth__error {
    background: #fdecec;
    border: 1px solid #f5c2c3;
    color: #b00020;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 720px) {
    .spond-auth__card {
        flex-direction: column;
        min-height: 0;
    }
    .spond-auth__image {
        flex-basis: 160px;
    }
    .spond-auth__panel {
        padding: 32px 24px;
    }
}

/* ---------------- Coach hub (logged-in area) ---------------- */

.spond-hub__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(120deg, #262626 0%, #404040 100%);
    color: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 32px;
}

.spond-hub__eyebrow {
    display: inline-block;
    background: #e21e22;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.spond-hub__banner h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    margin: 0 0 8px;
}

.spond-hub__banner p {
    margin: 0;
    color: #d8d8d8;
    font-size: 15px;
}

.spond-hub__logout {
    flex-shrink: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 10px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.spond-hub__logout:hover {
    background: #fff;
    color: #303030;
}

.spond-hub__content {
    background: #fff;
    border-radius: 16px;
    padding: 8px 40px 40px;
}

.spond-hub__content h2,
.spond-hub__content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #303030;
    padding-left: 16px;
    border-left: 4px solid #e21e22;
    margin: 36px 0 18px;
}

.spond-hub__content > *:first-child {
    margin-top: 32px;
}

.spond-hub__content p {
    color: #555;
    line-height: 1.6;
}

.spond-hub__content ul,
.spond-hub__content ol {
    padding-left: 0;
    list-style: none;
    margin: 0 0 20px;
}

.spond-hub__content ul li,
.spond-hub__content ol li {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.spond-hub__content ul li:hover,
.spond-hub__content ol li:hover {
    border-color: #e21e22;
    transform: translateX(2px);
}

.spond-hub__content a {
    color: #e21e22;
    font-weight: 600;
}

.spond-hub__content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.spond-hub__content table th,
.spond-hub__content table td {
    border: 1px solid #eee;
    padding: 12px 16px;
    text-align: left;
}

.spond-hub__content table th {
    background: #f8f8f8;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 720px) {
    .spond-hub__banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
    .spond-hub__content {
        padding: 8px 24px 24px;
    }
}

/* ---------------- Resource manager (add/edit/list) ---------------- */

.spond-res__form-card {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
}

.spond-res__form-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #303030;
    margin: 0 0 18px;
    padding: 0;
    border: none;
}

.spond-res__field {
    margin-bottom: 16px;
}

.spond-res__field label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #303030;
    margin-bottom: 6px;
}

.spond-res__field input[type=text],
.spond-res__field input[type=url],
.spond-res__field input[type=file],
.spond-res__field select {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Assistant', sans-serif;
    font-size: 15px;
    color: #303030;
    background: #fff;
}

.spond-res__submit {
    width: auto;
    margin-top: 4px;
    padding: 11px 28px;
}

.spond-res__form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.spond-res__cancel {
    color: #717171;
    font-size: 14px;
    font-weight: 600;
}

.spond-res__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.spond-res__desc {
    color: #888;
    font-weight: 400;
}

.spond-res__item-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
}

.spond-res__item-actions a {
    color: #717171;
}

.spond-res__item-actions a:hover {
    color: #e21e22;
}

.spond-res__item-actions form {
    display: inline;
}

.spond-res__delete {
    background: none;
    border: none;
    color: #b00020;
    font-family: 'Assistant', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.spond-res__delete:hover {
    text-decoration: underline;
}

.spond-res__personal-lede {
    color: #888;
    font-size: 14px;
    margin-top: -8px;
}

.spond-res__empty {
    color: #888;
    font-style: italic;
}
