.elementor-724 .elementor-element.elementor-element-fb1ad0e{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-cae05b7 *//* L2RATING cabinet final CSS */

.l2-cabinet {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  width: min(1400px, calc(100% - 40px));
  margin: 40px auto;
  align-items: start;
  box-sizing: border-box;
}

.l2-cabinet * {
  box-sizing: border-box;
}

.l2-cabinet-sidebar {
  width: 280px;
  min-width: 280px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 20px;
}

.l2-user-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.l2-avatar {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  background: #f0a500;
  color: #000;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.l2-user-info {
  min-width: 0;
}

.l2-user-info strong {
  display: block;
  color: #fff;
  overflow-wrap: anywhere;
}

.l2-user-info span {
  display: block;
  font-size: 12px;
  color: #999;
  overflow-wrap: anywhere;
}

.l2-cabinet-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.l2-cabinet-sidebar li {
  margin-bottom: 10px;
}

.l2-cabinet-sidebar a {
  display: block;
  padding: 12px;
  min-height: 46px;
  background: #181818;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  line-height: 1.35;
}

.l2-cabinet-sidebar a:hover,
.l2-cabinet-sidebar a.is-active {
  background: #f0a500;
  border-color: #f0a500;
  color: #000;
}

.l2-cabinet-content {
  min-width: 0;
  width: 100%;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 30px;
}

.l2-cabinet-content h2 {
  color: #fff;
  margin: 0 0 30px;
  font-size: 32px;
  line-height: 1.2;
}

.l2-tab-panel {
  display: none;
}

.l2-tab-panel.is-active {
  display: block;
}

.l2-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 20px;
}

.l2-stat {
  background: #181818;
  padding: 20px;
  border-radius: 10px;
  min-height: 118px;
}

.l2-stat span {
  display: block;
  color: #999;
  margin-bottom: 10px;
  line-height: 1.35;
}

.l2-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
  color: #f0a500;
  overflow-wrap: anywhere;
}

.l2-cabinet-section {
  margin-top: 30px;
  background: #181818;
  border-radius: 10px;
  padding: 22px;
  min-width: 0;
}

.l2-cabinet-section h3,
.l2-cabinet-section h2 {
  color: #fff;
  margin: 0 0 18px;
}

.l2-cabinet-section p {
  color: #aaa;
}

.l2-cabinet-server-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  min-width: 0;
}

.l2-cabinet-server-card > div {
  min-width: 0;
}

.l2-cabinet-server-card strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.l2-cabinet-server-card span {
  display: block;
  color: #f0a500;
  margin-top: 6px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.l2-cabinet-server-card a,
.l2-add-server-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid #f0a500;
  color: #f0a500;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.l2-cabinet-server-card a:hover,
.l2-add-server-btn:hover {
  background: #f0a500;
  color: #000;
}

.l2-owner-review-card {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
  color: #fff;
  min-width: 0;
}

.l2-owner-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  color: #fff;
}

.l2-owner-review-top strong {
  color: #fff;
  overflow-wrap: anywhere;
}

.l2-owner-review-top span {
  flex: 0 0 auto;
  color: #999;
  font-size: 13px;
}

.l2-owner-review-status {
  display: inline-block;
  margin-top: 8px;
  color: #f0a500;
  font-size: 12px;
  font-weight: 700;
}

.l2-owner-review-stars {
  color: #f0a500;
  margin: 8px 0;
  letter-spacing: 0;
}

.l2-owner-review-card p {
  color: #ddd;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.l2-owner-reply {
  margin-top: 12px;
  padding: 12px;
  border-left: 3px solid #f0a500;
  background: #181818;
}

.l2-owner-reply strong {
  color: #f0a500;
}

.l2-owner-reply p {
  color: #ddd;
}

.l2-owner-reply-empty {
  border-left-color: #555;
}

.l2-owner-reply-empty strong {
  color: #aaa;
}

.l2-owner-reply-form {
  margin-top: 12px;
}

.l2-owner-reply-form textarea {
  width: 100%;
  min-height: 96px;
  background: #0b0f14;
  border: 1px solid #2a2a2a;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
}

.l2-owner-reply-form textarea:focus {
  outline: none;
  border-color: #f0a500;
  box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.18);
}

.l2-owner-reply-form button {
  margin-top: 10px;
  min-height: 42px;
  background: #f0a500;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.l2-owner-reply-form button:hover {
  background: #ffc400;
}

.l2-success-message,
.l2-error-message {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 9999;
  max-width: 320px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.l2-success-message {
  background: #102516;
  border: 1px solid #2ea043;
  color: #c9f7d5;
}

.l2-error-message {
  background: #2a1111;
  border: 1px solid #ff4d4d;
  color: #ffd1d1;
}

.l2-cabinet-login-message {
  max-width: 760px;
  margin: 40px auto;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px;
  color: #fff;
}

.l2-cabinet-login-message a {
  color: #f0a500;
}

@media (max-width: 1180px) {
  .l2-cabinet {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    width: min(1040px, calc(100% - 32px));
  }

  .l2-cabinet-sidebar {
    width: 260px;
    min-width: 260px;
  }

  .l2-cabinet-content {
    padding: 24px;
  }
}

@media (max-width: 900px) {
  .l2-cabinet {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 24px));
    gap: 18px;
    margin: 28px auto;
  }

  .l2-cabinet-sidebar {
    width: 100%;
    min-width: 0;
  }

  .l2-cabinet-sidebar ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .l2-cabinet-sidebar li {
    margin-bottom: 0;
  }

  .l2-success-message,
  .l2-error-message {
    left: 16px;
    right: 16px;
    top: 80px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .l2-cabinet {
    width: min(100% - 16px, 520px);
    margin: 18px auto;
  }

  .l2-cabinet-sidebar,
  .l2-cabinet-content {
    border-radius: 10px;
    padding: 16px;
  }

  .l2-user-box {
    align-items: flex-start;
  }

  .l2-avatar {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    font-size: 22px;
  }

  .l2-cabinet-sidebar ul {
    grid-template-columns: 1fr;
  }

  .l2-cabinet-content h2 {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .l2-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .l2-stat {
    min-height: 92px;
    padding: 16px;
  }

  .l2-cabinet-section {
    margin-top: 18px;
    padding: 16px;
  }

  .l2-cabinet-server-card {
    align-items: stretch;
    flex-direction: column;
  }

  .l2-cabinet-server-card a,
  .l2-add-server-btn {
    width: 100%;
  }

  .l2-owner-review-top {
    flex-direction: column;
    gap: 6px;
  }

  .l2-owner-review-top span {
    flex: 0 1 auto;
  }
}

/* НОВОСТИ*/

.l2-news-form-box {
  max-width: 900px;
  margin: 40px auto;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 30px;
  color: #fff;
  box-sizing: border-box;
}

.l2-news-form-box * {
  box-sizing: border-box;
}

.l2-news-form-box h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.l2-news-form-box p {
  color: #aaa;
  margin: 0 0 25px;
  line-height: 1.45;
}

.l2-news-success,
.l2-news-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.35;
}

.l2-news-success {
  background: #102516;
  border: 1px solid #2ea043;
  color: #c9f7d5;
}

.l2-news-error {
  background: #2a1111;
  border: 1px solid #ff4d4d;
  color: #ffd1d1;
}

.l2-news-form label {
  display: block;
  margin: 18px 0 8px;
  color: #fff;
  font-weight: 700;
}

.l2-news-form input,
.l2-news-form select,
.l2-news-form textarea {
  width: 100%;
  background: #0b0f14;
  border: 1px solid #2a2a2a;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.l2-news-form textarea {
  min-height: 170px;
  resize: vertical;
}

.l2-news-form input:focus,
.l2-news-form select:focus,
.l2-news-form textarea:focus {
  outline: none;
  border-color: #f0a500;
  box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.18);
}

.l2-news-form input[type="file"] {
  padding: 10px;
}

.l2-news-current-image {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
  padding: 12px;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
}

.l2-news-current-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.l2-news-current-image span {
  color: #aaa;
  line-height: 1.35;
}

.l2-news-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.l2-news-form button,
.l2-add-news-btn,
.l2-news-cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #f0a500;
  color: #000;
  border: 1px solid #f0a500;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.l2-news-cancel-btn {
  background: transparent;
  color: #f0a500;
}

.l2-news-form button:hover,
.l2-add-news-btn:hover {
  background: #ffc400;
  border-color: #ffc400;
  color: #000;
}

.l2-news-cancel-btn:hover {
  background: #f0a500;
  color: #000;
}

.l2-server-news-section {
  min-width: 0;
}

.l2-news-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.l2-news-section-head h3 {
  margin: 0 0 8px;
}

.l2-news-section-head p {
  margin: 0;
}

.l2-news-section-head .l2-add-news-btn {
  flex: 0 0 auto;
  margin-top: 0;
}

.l2-news-item-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
  min-width: 0;
}

.l2-news-item-card > div:first-child {
  min-width: 0;
}

.l2-news-item-card strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.l2-news-item-card span {
  display: block;
  color: #aaa;
  margin-top: 5px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.l2-news-item-card em {
  display: inline-block;
  margin-top: 8px;
  color: #f0a500;
  font-style: normal;
  font-weight: 700;
}

.l2-news-item-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.l2-news-item-actions a,
.l2-news-wait {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 8px 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.l2-news-item-actions a {
  color: #f0a500;
  border: 1px solid #f0a500;
}

.l2-news-item-actions a:hover {
  background: #f0a500;
  color: #000;
}

.l2-news-wait {
  color: #999;
  border: 1px solid #444;
  background: #181818;
}

@media (max-width: 760px) {
  .l2-news-form-box {
    width: min(100% - 24px, 680px);
    margin: 28px auto;
    padding: 22px;
    border-radius: 12px;
  }

  .l2-news-form-box h2 {
    font-size: 26px;
  }

  .l2-news-section-head,
  .l2-news-item-card {
    flex-direction: column;
    align-items: stretch;
  }

  .l2-news-section-head .l2-add-news-btn,
  .l2-news-item-actions,
  .l2-news-item-actions a,
  .l2-news-wait {
    width: 100%;
  }

  .l2-news-item-actions {
    justify-content: stretch;
  }
}

@media (max-width: 480px) {
  .l2-news-form-box {
    width: min(100% - 16px, 420px);
    margin: 18px auto;
    padding: 16px;
  }

  .l2-news-form-box h2 {
    font-size: 23px;
  }

  .l2-news-current-image {
    align-items: flex-start;
    flex-direction: column;
  }

  .l2-news-form-actions,
  .l2-news-form button,
  .l2-add-news-btn,
  .l2-news-cancel-btn {
    width: 100%;
  }
}/* End custom CSS */