﻿@font-face {
  font-family: 'Readex Pro Local';
  src: url('../font/readexpro-regular.woff2') format('woff2');
  font-display: swap;
}

:root {
  --brand-900: #0f1f46;
  --brand-800: #16316d;
  --brand-700: #1f4ea5;
  --brand-600: #2f6fe4;
  --brand-500: #4a86ff;
  --accent-500: #03a6a1;
  --accent-600: #028783;
  --surface-0: #ffffff;
  --surface-1: #f7faff;
  --surface-2: #eef4ff;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --line: #dbe7ff;
  --success: #13a46b;
  --danger: #e03d5a;
  --warning: #f39a18;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 6px 18px rgba(15, 31, 70, 0.08);
  --shadow-md: 0 14px 34px rgba(15, 31, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink-900);
  font-family: 'Readex Pro Local', 'Segoe UI', Tahoma, Arial, sans-serif;
  background:
    radial-gradient(950px 550px at 100% -10%, rgba(74, 134, 255, 0.18), transparent 55%),
    radial-gradient(800px 500px at 0% 110%, rgba(3, 166, 161, 0.16), transparent 52%),
    linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
  line-height: 1.65;
}

a {
  color: var(--brand-700);
  text-decoration: none;
}

a:hover {
  color: var(--brand-600);
}

main {
  position: relative;
}

.container {
  max-width: 1200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: 0.1px;
}

.text-muted {
  color: var(--ink-500) !important;
}

.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(47, 111, 228, 0.24);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
  border-color: transparent;
}

.btn-outline-primary {
  border-color: #a9c5ff;
  color: var(--brand-700);
}

.btn-outline-primary:hover {
  background: #eaf2ff;
  border-color: #95b8ff;
  color: var(--brand-800);
}

.btn-dark {
  background: linear-gradient(135deg, #0f223f, #1b335f);
  border-color: transparent;
}

.card {
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-top-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 0.9rem 0.9rem 0 0;
  border-bottom: 1px solid #dbe7ff;
  background: #f3f7ff;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.form-label,
.form-section-title {
  font-weight: 600;
  color: var(--ink-700);
}

.form-control,
.form-select,
textarea.form-control {
  background: #fbfdff;
  border: 1px solid #d6e4ff;
  border-radius: 0.75rem;
  color: var(--ink-900);
  min-height: 46px;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #92b6ff;
  box-shadow: 0 0 0 0.23rem rgba(46, 112, 228, 0.16);
  background: #fff;
}

.badge {
  border-radius: 999px;
  font-weight: 600;
}

.verified-blue {
  background: #e6f0ff;
  color: #1f5fcc;
  border: 1px solid #b5cdfa;
}

.table {
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  padding: 0.8rem 0.7rem;
}

.auth-wrap {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0.75rem;
}

.auth-card {
  width: 100%;
  max-width: 660px;
  border-radius: var(--radius-xl);
  border: 1px solid #cfe0ff;
  box-shadow: 0 22px 46px rgba(15, 31, 70, 0.16);
}

.auth-card .card-body {
  padding: 1.6rem;
}

.brand-title {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  color: var(--brand-800);
  font-weight: 800;
}

.pagination .page-link {
  border-radius: 0.6rem;
  margin-inline: 0.16rem;
  border-color: #cfe0ff;
  color: var(--brand-700);
}

.pagination .page-item.active .page-link {
  background: var(--brand-600);
  border-color: var(--brand-600);
}

@media (max-width: 991.98px) {
  .auth-wrap {
    min-height: auto;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .card,
  .auth-card {
    border-radius: 0.9rem;
  }
}
