.hai-admin-dash-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.hai-admin-dash-head h1 {
    margin: 0;
    font-size: 1.8em;
}

.hai-counter {
    background: #fff;
    border-radius: 11px;
    color: #1987ff;
    padding: 2px 11px;
    margin-left: 8px;
}

.hai-refresh {
    background: none;
    border: 0;
    font-size: 1.4em;
    cursor: pointer;
}

#hai-search {
    flex: 1;
    max-width: 300px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.2px solid #cfd8dc;
}

.hai-table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 24px #b4b4e925;
}

.hai-table th,
.hai-table td {
    padding: 14px 16px;
}

.hai-table tr:nth-child(even) td {
    background: #f9fafd;
}

.badge-coaching {
    background: #ede7f6;
    color: #5f249f;
    border-radius: 9px;
    padding: 3px 10px;
}

.badge-astro {
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 9px;
    padding: 3px 10px;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
    border-radius: 9px;
    padding: 3px 9px;
}

.btn-edit,
.btn-view {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 1em;
    padding: 6px 10px;
}

.btn-edit:hover {
    color: #5f249f;
}

.btn-view:hover {
    color: #1565c0;
}

#hai-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0005;
    z-index: 9998;
}

#hai-modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 8px 48px #0005;
    min-width: 580px;
    z-index: 9999;
    overflow: hidden;
}

.hai-modal-header {
    padding: 13px 22px 11px 20px;
    font-size: 1.17em;
    border-bottom: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
}

.hai-modal-content {
    display: flex;
    gap: 38px;
    padding: 24px;
}

.hai-modal-left {
    flex: 1;
}

.hai-modal-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.hai-modal-editor {
    border: 1.3px solid #cfd8dc;
    border-radius: 7px;
    padding: 13px;
}

.hai-modal-send {
    background: #5f249f;
    color: #fff;
    padding: 12px;
    border-radius: 9px;
    border: 0;
    font-weight: 600;
    box-shadow: 0 1px 7px #5f249f21;
    font-size: 1.12em;
}

.hai-modal-send:hover {
    background: #1987ff;
}
