﻿@import url('vendor/bootstrap.min.css');
@import url('vendor/adminlte.min.css');

/* GitHub UI pack: twbs/bootstrap + ColorlibHQ/AdminLTE */
body.desktop-ui {
    background: #f4f6f9 !important;
    color: #212529 !important;
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif !important;
}

.desktop-ui .header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #ffffff !important;
    border-bottom: 1px solid #dbe0e6;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    color: #1f2d3d !important;
}

.desktop-ui .header .title,
.desktop-ui .header div:first-child {
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    color: #1f2d3d !important;
}

.desktop-ui .header button {
    background: #f7f8fa !important;
    color: #344054 !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 0.5rem !important;
    padding: 0.35rem 0.7rem !important;
    line-height: 1.2;
}

.desktop-ui .header button:hover {
    background: #eef2f6 !important;
}

.desktop-ui .container,
.desktop-ui .wrap {
    max-width: 1200px !important;
    margin: 1rem auto !important;
    padding: 0 0.75rem 1rem !important;
}

.desktop-ui .panel,
.desktop-ui .card {
    background: #fff !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 2px 12px rgba(16, 24, 40, 0.06) !important;
    padding: 0.9rem !important;
}

.desktop-ui .panel h3,
.desktop-ui .card h3 {
    margin: 0 0 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #101828 !important;
}

.desktop-ui .toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
}

.desktop-ui .toolbar input,
.desktop-ui .toolbar select,
.desktop-ui .toolbar textarea,
.desktop-ui input,
.desktop-ui select,
.desktop-ui textarea {
    border: 1px solid #d0d5dd !important;
    border-radius: 0.55rem !important;
    background: #fff !important;
    color: #1f2937 !important;
    min-height: 2.2rem;
    padding: 0.38rem 0.62rem !important;
}

.desktop-ui .toolbar button,
.desktop-ui button.small-btn,
.desktop-ui .small-btn,
.desktop-ui .btn,
.desktop-ui .invite-btn,
.desktop-ui .op-btn,
.desktop-ui .dialog .ok,
.desktop-ui .group-create-actions .submit {
    border: 1px solid #1570ef !important;
    background: #1570ef !important;
    color: #fff !important;
    border-radius: 0.55rem !important;
    min-height: 2.2rem;
    padding: 0.35rem 0.75rem !important;
}

.desktop-ui .toolbar button:hover,
.desktop-ui .small-btn:hover {
    background: #175cd3 !important;
    border-color: #175cd3 !important;
}

.desktop-ui .small-btn.gray,
.desktop-ui .dialog .cancel,
.desktop-ui .group-create-actions .cancel {
    background: #f2f4f7 !important;
    color: #344054 !important;
    border-color: #d0d5dd !important;
}

.desktop-ui .small-btn.danger,
.desktop-ui .btn-reject,
.desktop-ui .btn-block,
.desktop-ui .dialog .danger {
    background: #d92d20 !important;
    border-color: #d92d20 !important;
    color: #fff !important;
}

.desktop-ui .grid {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border: 1px solid #e4e7ec !important;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff;
}

.desktop-ui .grid th,
.desktop-ui .grid td {
    border: none !important;
    border-bottom: 1px solid #eef2f6 !important;
    padding: 0.55rem 0.6rem !important;
    vertical-align: top;
}

.desktop-ui .grid tr:last-child td {
    border-bottom: none !important;
}

.desktop-ui .grid th {
    background: #f9fafb !important;
    color: #475467 !important;
    font-weight: 600;
}

.desktop-ui .tag.ok { background: #eafaf0 !important; color: #067647 !important; }
.desktop-ui .tag.warn { background: #fff8eb !important; color: #b54708 !important; }
.desktop-ui .tag.bad { background: #fef3f2 !important; color: #b42318 !important; }

.desktop-ui .muted {
    color: #98a2b3 !important;
}

.desktop-ui .toast {
    background: rgba(17, 24, 39, 0.86) !important;
    border-radius: 999px !important;
}
