.bot-settings-page { padding: 24px; color: #243746; font-family: Tahoma, Arial, sans-serif; }
.bot-backup-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto 18px; }
.bot-backup-summary-item { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 17px 18px; background: #fff; border: 1px solid #e1e8ee; border-radius: 14px; box-shadow: 0 8px 24px rgba(27, 57, 78, .06); }
.bot-backup-summary-item > i { flex: 0 0 auto; font-size: 26px; }
.bot-backup-summary-item div { min-width: 0; }
.bot-backup-summary-item span { display: block; margin-bottom: 5px; color: #718391; font-size: 12px; }
.bot-backup-summary-item strong { display: block; overflow: hidden; color: #173b52; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.bot-backup-summary-item.is-success > i { color: #21845f; }
.bot-backup-summary-item.is-failed > i { color: #c24b4b; }
.bot-backup-summary-item.is-size > i { color: #3180a9; }
.bot-settings-card { max-width: 1000px; margin: 0 auto; padding: 28px; background: #fff; border: 1px solid #e1e8ee; border-radius: 18px; box-shadow: 0 12px 35px rgba(27, 57, 78, .08); }
.bot-settings-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.bot-settings-header span { color: #3180a9; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; }
.bot-settings-header h3 { margin: 7px 0; color: #173b52; font-weight: 800; }
.bot-settings-header p { margin: 0; color: #718391; }
.bot-settings-header code { color: #216c96; background: #edf6fb; }
.bot-settings-state { padding: 8px 13px; white-space: nowrap; border-radius: 999px; font-size: 12px; }
.bot-settings-state.is-ready { color: #176d4c; background: #e4f7ee; }
.bot-settings-state.is-missing { color: #955a13; background: #fff0d9; }
.bot-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bot-settings-grid .form-group { margin: 0; }
.bot-settings-grid label { display: block; margin-bottom: 8px; color: #274b61; font-weight: 700; }
.bot-settings-grid small { display: block; margin-top: 7px; color: #7a8b97; }
.bot-token-field { position: relative; grid-column: 1 / -1; }
.bot-token-field .form-control { padding-left: 45px; direction: ltr; text-align: left; }
.bot-token-field button { position: absolute; left: 8px; top: 32px; width: 34px; height: 34px; color: #668297; background: transparent; border: 0; }
.bot-settings-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e8edf1; }
.bot-settings-footer > div { color: #6f818e; font-size: 12px; }
.bot-settings-footer i { margin-left: 5px; }
.bot-backup-log-card { margin-top: 24px; }
.bot-backup-log-card .bot-settings-header { margin-bottom: 20px; }
.bot-backup-log-table-wrap { overflow-x: auto; border: 1px solid #e6edf2; border-radius: 12px; }
.bot-backup-log-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.bot-backup-log-table th, .bot-backup-log-table td { padding: 13px 15px; text-align: right; border-bottom: 1px solid #edf1f4; }
.bot-backup-log-table th { color: #274b61; background: #f6f9fb; font-size: 12px; }
.bot-backup-log-table tbody tr:last-child td { border-bottom: 0; }
.bot-backup-status { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.bot-backup-status.is-success { color: #176d4c; background: #e4f7ee; }
.bot-backup-status.is-failed { color: #a23a3a; background: #fdeaea; }
.bot-backup-log-empty { padding: 22px; color: #718391; text-align: center; background: #f8fafb; border-radius: 12px; }
@media (max-width: 700px) {
    .bot-settings-page { padding: 12px; }
    .bot-settings-card { padding: 20px; }
    .bot-settings-header, .bot-settings-footer { align-items: stretch; flex-direction: column; }
    .bot-settings-grid { grid-template-columns: 1fr; }
    .bot-token-field { grid-column: auto; }
    .bot-backup-summary { grid-template-columns: 1fr; }
}
