style.css 5.8 KB
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --app-bg:
    radial-gradient(circle at top left, rgba(198, 185, 255, 0.58), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 217, 236, 0.7), transparent 24%),
    radial-gradient(circle at 80% 84%, rgba(255, 234, 181, 0.45), transparent 22%),
    linear-gradient(180deg, #fbfaff 0%, #f7f7fd 48%, #f8f8fb 100%);
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --panel-tint: linear-gradient(135deg, rgba(198, 185, 255, 0.72), rgba(255, 218, 238, 0.72));
  --line: rgba(182, 172, 226, 0.24);
  --line-strong: rgba(140, 124, 240, 0.22);
  --text-main: #4f4a68;
  --text-soft: #8d88a4;
  --text-dark: #2f2946;
  --brand: #8c7cf0;
  --brand-soft: #c6b9ff;
  --brand-deep: #7563df;
  --pink: #f4bfd8;
  --yellow: #f6d977;
  --green: #8bd4a7;
  --orange: #ffb284;
  --shadow-xl: 0 22px 60px rgba(121, 104, 213, 0.12);
  --shadow-lg: 0 16px 35px rgba(137, 123, 214, 0.12);
  --shadow-sm: 0 10px 20px rgba(149, 136, 220, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --font-display: 'Outfit', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  font-weight: 500;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f8f8ff;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100vh;
}

body {
  margin: 0;
  background: var(--app-bg);
  color: var(--text-main);
}

a {
  color: var(--brand-deep);
}

.ant-layout {
  background: transparent;
}

.ant-btn {
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
}

.ant-btn-primary {
  background: linear-gradient(135deg, #8c7cf0 0%, #c995ea 100%);
  border: none;
  box-shadow: 0 12px 24px rgba(140, 124, 240, 0.24);
}

.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background: linear-gradient(135deg, #7d6be8 0%, #c289ea 100%) !important;
}

.ant-btn-default {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.ant-card {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ant-card .ant-card-head {
  border-bottom: 1px solid rgba(188, 180, 230, 0.18);
  min-height: 72px;
}

.ant-card .ant-card-head-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.ant-card .ant-card-body {
  padding: 24px;
}

.ant-table-wrapper .ant-table {
  background: transparent;
}

.ant-table-wrapper .ant-table-container {
  border-radius: var(--radius-md);
  border: 1px solid rgba(194, 185, 239, 0.22);
  overflow: hidden;
}

.ant-table-wrapper .ant-table-thead > tr > th {
  background: rgba(244, 240, 255, 0.88);
  color: var(--text-dark);
  border-bottom: none;
  font-weight: 700;
}

.ant-table-wrapper .ant-table-tbody > tr > td {
  border-bottom: 1px solid rgba(226, 220, 247, 0.72);
  background: rgba(255, 255, 255, 0.48);
}

.ant-table-wrapper .ant-table-tbody > tr:hover > td {
  background: rgba(247, 242, 255, 0.95) !important;
}

.ant-input,
.ant-input-affix-wrapper,
.ant-input-password,
.ant-select-selector,
.ant-input-number,
.ant-input-number-input-wrap,
.ant-picker {
  border-radius: 16px !important;
  border-color: rgba(189, 180, 234, 0.4) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: none !important;
}

.ant-input:focus,
.ant-input-affix-wrapper-focused,
.ant-select-focused .ant-select-selector,
.ant-input-number-focused,
.ant-picker-focused {
  border-color: rgba(140, 124, 240, 0.68) !important;
  box-shadow: 0 0 0 4px rgba(140, 124, 240, 0.12) !important;
}

.ant-modal .ant-modal-content,
.ant-dropdown .ant-dropdown-menu {
  border-radius: 28px;
  border: 1px solid rgba(228, 223, 247, 0.7);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-xl);
}

.ant-modal .ant-modal-header {
  background: transparent;
  border-bottom: 1px solid rgba(189, 180, 234, 0.18);
}

.ant-modal .ant-modal-title {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
}

.ant-tag {
  border-radius: 999px;
  border: none;
  padding-inline: 10px;
  font-weight: 600;
}

.ant-menu {
  background: transparent !important;
}

.ant-menu-item,
.ant-menu-submenu-title {
  border-radius: 18px !important;
  margin-inline: 8px !important;
  margin-block: 6px !important;
  width: calc(100% - 16px) !important;
}

.ant-menu-light .ant-menu-item-selected,
.ant-menu-light > .ant-menu .ant-menu-item-selected,
.ant-menu-light .ant-menu-submenu-selected > .ant-menu-submenu-title {
  background: linear-gradient(135deg, rgba(140, 124, 240, 0.18), rgba(255, 212, 235, 0.3)) !important;
  color: var(--brand-deep) !important;
}

.ant-menu-item:hover,
.ant-menu-submenu-title:hover {
  color: var(--brand-deep) !important;
  background: rgba(255, 255, 255, 0.5) !important;
}

.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(140, 124, 240, 0.45);
  box-shadow: 0 8px 18px rgba(140, 124, 240, 0.12);
}

.ant-empty {
  padding: 20px 0;
}

.soft-page-shell {
  padding: 24px 24px 28px;
}

.soft-section-card {
  position: relative;
  overflow: hidden;
}

.soft-section-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(198, 185, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 1200px) {
  .soft-page-shell {
    padding: 18px;
  }
}