/* ShinraiNet final theme override. Loaded last on purpose. */

:root {
  --body-bg-color: #fbfaf5 !important;
  --body-bg-color-dark: #10251b !important;
  --body-color: #18352a !important;
  --body-color-dark: #dff4e9 !important;
  --link-color: #176b45 !important;
  --header-bg-color: #ffffff !important;
  --header-bg-color-dark: #103f2d !important;
  --card-dark-color: #173a2b !important;
  --card-dark-divider: #24533d !important;
  --card-dark-hover: #1f4a37 !important;
  --card-dark-input: #10251b !important;
  --card-dark-input-color: #f4fff8 !important;
  --plyr-color-main: #176b45 !important;
}

body {
  color: #18352a !important;
  background:
    radial-gradient(circle at top left, rgba(184, 233, 134, 0.38), transparent 330px),
    radial-gradient(circle at 80% 0, rgba(223, 244, 233, 0.8), transparent 360px),
    #fbfaf5 !important;
}

body.night-mode {
  color: #dff4e9 !important;
  background:
    radial-gradient(circle at top left, rgba(184, 233, 134, 0.12), transparent 360px),
    #10251b !important;
}


a,
.text-link,
.nav-link,
.post-stats-alt,
.post-stats .fa,
.data-content .name a,
.navbar-container .data-content .name a {
  color: #176b45 !important;
}

.main-icon,
.main-icon *,
.x-form-tools,
.header-icon.active,
.header-icon.active * {
  color: #176b45 !important;
  fill: #176b45 !important;
}

.main-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(24, 53, 42, 0.12) !important;
  box-shadow: 0 12px 34px rgba(16, 63, 45, 0.1) !important;
  backdrop-filter: blur(14px);
}

body.night-mode .main-header {
  background: rgba(16, 63, 45, 0.96) !important;
  border-bottom-color: #24533d !important;
}

.main-header .logo {
  color: #176b45 !important;
}

body.night-mode .main-header .logo {
  color: #b8e986 !important;
}

.main-header .search-wrapper .form-control,
.form-control,
.form-select,
.input-group-text {
  color: #18352a !important;
  background: #dff4e9 !important;
  border-color: rgba(24, 53, 42, 0.12) !important;
}

.main-header .search-wrapper .form-control:focus,
.form-control:focus,
.form-select:focus {
  background: #ffffff !important;
  border-color: rgba(23, 107, 69, 0.45) !important;
  box-shadow: 0 0 0 0.2rem rgba(23, 107, 69, 0.12) !important;
}

body.night-mode .form-control,
body.night-mode .form-select,
body.night-mode .input-group-text,
body.night-mode .main-header .search-wrapper .form-control {
  color: #f4fff8 !important;
  background: #10251b !important;
  border-color: #24533d !important;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle,
.bg-primary {
  color: #ffffff !important;
  background: #176b45 !important;
  border-color: #176b45 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus {
  background: #103f2d !important;
  border-color: #103f2d !important;
}

.btn-secondary,
.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #103f2d !important;
  background: #dff4e9 !important;
  border-color: #dff4e9 !important;
}

.btn-secondary:hover {
  color: #103f2d !important;
  background: #b8e986 !important;
  border-color: #b8e986 !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #176b45 0%, #103f2d 100%) !important;
}

.card,
.post,
.publisher,
.posts-filter,
.dropdown-menu,
.modal-content,
.blog-wrapper,
.profile-header,
.profile-tabs-wrapper,
.directory-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(24, 53, 42, 0.12) !important;
  border-radius: 10px !important;
  box-shadow: 0 22px 70px rgba(16, 63, 45, 0.13) !important;
}

body.night-mode .card,
body.night-mode .post,
body.night-mode .publisher,
body.night-mode .posts-filter,
body.night-mode .dropdown-menu,
body.night-mode .modal-content,
body.night-mode .blog-wrapper,
body.night-mode .profile-header,
body.night-mode .profile-tabs-wrapper,
body.night-mode .directory-card {
  background: #173a2b !important;
  border-color: #24533d !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.26) !important;
}

.card-header.block-title,
.card-header strong,
.post-author a,
.data-content .name a {
  color: #103f2d !important;
}

body.night-mode .card-header.block-title,
body.night-mode .card-header strong,
body.night-mode .post-author a,
body.night-mode .data-content .name a {
  color: #b8e986 !important;
}

.navbar-wrapper>ul>li>a:hover,
.navbar-wrapper>ul>li.dropdown.show>a,
.main-side-nav a:hover,
.main-side-nav>li.active>a,
.side-nav a:hover,
.side-nav>li.active>a,
.publisher-tools-tab:hover,
.publisher-tools-tab.active,
.post-actions .action-btn:hover,
.feeds-action-item.unread,
.feeds-action-item:hover,
.feeds-item.unread,
.alert-post {
  color: #176b45 !important;
  background: #dff4e9 !important;
}

body.night-mode .navbar-wrapper>ul>li>a:hover,
body.night-mode .navbar-wrapper>ul>li.dropdown.show>a,
body.night-mode .main-side-nav a:hover,
body.night-mode .main-side-nav>li.active>a,
body.night-mode .side-nav a:hover,
body.night-mode .side-nav>li.active>a,
body.night-mode .publisher-tools-tab:hover,
body.night-mode .publisher-tools-tab.active,
body.night-mode .post-actions .action-btn:hover,
body.night-mode .feeds-action-item.unread,
body.night-mode .feeds-action-item:hover,
body.night-mode .feeds-item.unread,
body.night-mode .alert-post {
  color: #b8e986 !important;
  background: rgba(184, 233, 134, 0.14) !important;
}

.publisher-message,
.publisher-footer,
.post-actions,
.post-footer,
.post-comments,
.post-media,
.post-media.module,
.post-snippet,
.post-product-wrapper {
  border-color: rgba(24, 53, 42, 0.12) !important;
}

body.night-mode .publisher-message,
body.night-mode .publisher-footer,
body.night-mode .post-actions,
body.night-mode .post-footer,
body.night-mode .post-comments,
body.night-mode .post-media,
body.night-mode .post-media.module,
body.night-mode .post-snippet,
body.night-mode .post-product-wrapper {
  border-color: #24533d !important;
}

.fr_welcome {
  color: #18352a !important;
  background:
    radial-gradient(circle at top left, rgba(184, 233, 134, 0.45), transparent 340px),
    linear-gradient(135deg, #fbfaf5 0%, #dff4e9 100%) !important;
}

body.night-mode .fr_welcome {
  color: #dff4e9 !important;
  background:
    radial-gradient(circle at top left, rgba(184, 233, 134, 0.16), transparent 380px),
    #10251b !important;
}

.fr_auth_form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92)),
    #dff4e9 !important;
  border: 1px solid rgba(24, 53, 42, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 22px 70px rgba(16, 63, 45, 0.13) !important;
}

body.night-mode .fr_auth_form {
  background:
    linear-gradient(180deg, rgba(16, 63, 45, 0.96), rgba(16, 37, 27, 0.96)),
    #103f2d !important;
  border-color: #24533d !important;
}

.fr_welcome_title {
  color: #103f2d !important;
}

body.night-mode .fr_welcome_title {
  color: #b8e986 !important;
}

.fr_welcome_field input,
.fr_welcome_field select {
  background: #dff4e9 !important;
  border-color: rgba(24, 53, 42, 0.12) !important;
}

.fr_welcome_btn {
  background: #176b45 !important;
  border-color: #176b45 !important;
}

.fr_welcome_btn:hover,
.fr_welcome_btn:focus {
  background: #103f2d !important;
  border-color: #103f2d !important;
}

.fr_welcome_switch a,
.fr_welcome_field input:focus+svg,
.fr_welcome_field select:focus+svg {
  color: #176b45 !important;
}

.fr_welcome_img:before {
  opacity: 1 !important;
  background:
    linear-gradient(135deg, rgba(16, 63, 45, 0.64), rgba(23, 107, 69, 0.3)),
    linear-gradient(45deg, rgba(184, 233, 134, 0.24), transparent) !important;
}

.fr_welcome_img_innr {
  background: linear-gradient(transparent 10%, rgba(16, 63, 45, 0.9)) !important;
}

.fr_welcome_img_innr h5,
.fr_welcome_img>.svg_lines {
  color: #b8e986 !important;
}

  body .main-wrapper .page-header:not(.bank-transfer) {
    background: linear-gradient(to right, #176b45, #1f8a5b, #1f8a5b, #176b45) !important;
    background-image: linear-gradient(to right, #176b45, #1f8a5b, #1f8a5b, #176b45) !important;
  }