
.am-common h1 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  margin-top: 20px;
  text-transform: uppercase;
}

.am-account-toolbar {
  background-color: #202747;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
}

#container-div {
  display: flex;
  flex-direction: column;
}
.am-common .close-subscription,
.am-common .cancel-subscription,
.am-common .renew-subscription,
.am-common div a[href^="/account/reset"],
a[href^="/payment/stripe/"],
.upgrade-subscription,
.switch-to-live-decorator,
#payoutButton {
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  padding: 4px 8px;
  margin: 5px;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(to bottom, #de4c4c, #7d1f1f);
  transition: all 0.3s ease;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  border: none;

}
.close-subscription:hover,
.cancel-subscription:hover,
.renew-subscription:hover,
.am-common div a[href^="/account/reset"]:hover,
a[href^="/payment/stripe/"]:hover,
.upgrade-subscription:hover,
.switch-to-live-decorator:hover,
#payoutButton:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

#blurButton {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  display: inline-block;
  text-align: center;
  padding: 0;
}

#blurButton .fas {
  font-size: 24px;
  color: #202747;
}
table.archived-payout-tab .highlight-row {
  background-color: #ffcccc;
}

.blurred .blur-block {
  filter: blur(5px);
  color: black ;
}

.am-common div a[href^="/account/reset"],
.reset {
  background: linear-gradient(to bottom, #4c60de, #3f3f51);

}
.am-common .upgrade-subscription,#payoutButton {
  background: linear-gradient(to bottom, #43cb9f, #309776);
  color:#fff;
}

.am-common .switch-to-live-decorator {
  background: linear-gradient(to bottom, #827474, #040404);
  color:#fff;
}

.am-common .renew-subscription {
  background: #ff914d;
  color:#fff;
}

#payoutButton[disabled],
#challenge-button[disabled] {
    background: #ccc;
    border: 1px solid #999;
    cursor: not-allowed;
    opacity: 0.6;
}

#payoutButton[disabled]:hover,
#challenge-button[disabled]:hover {
  opacity: 0.6;
  transform: scale(1);
}
#challenge-button[disabled] a {
  cursor: not-allowed;
  opacity: 0.6;
  text-decoration: none;
  pointer-events: none;
}

#validationEval {
  margin: 20px;
}
.am-account-toolbar a {
  color: #202747;
  text-decoration-color: #3f7fb099;
  background-color: #fff;
  padding: 0 8px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid #202747;
}
.am-account-toolbar a:hover {
  /* transform: scale(1.1);  */
  color:#fff;
  background: #202747;
  border: 1px solid #fff;
}
.am-account-toolbar a:hover::before {
    color:#fff;
}


.am-user-identity-block-avatar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  float: none;
}
.am-user-identity-block-avatar-pic {
  display: none;
}

/* Active Sub */
.am-active-invoice {
  border: none;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.3);
}
.am-active-invoice:nth-of-type(1) {
  padding-top: 20px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -5px 10px -5px rgba(0, 0, 0, 0.3);
}
.am-active-invoice:last-of-type {
  padding-bottom: 20px;
  border-radius: 0 0 8px 8px;
  margin-bottom: 20px;
}
.am-grid th,
.am-grid th:last-child {
  text-align: left;
  padding: 8px;
  font-weight: 800;
  font-size: 14px;
  border-bottom: none;
  color: #313131;
  font-variant: normal;
  text-transform: capitalize;
  background: #f2f2f2;
}

/* Login */
.am-page-login .am-auth-form div.am-row,
.am-page-login .am-auth-form legend {
  background: none;
}
.am-page-login .am-form fieldset legend {
  color:#303030;
}
.am-layout {
  display: flex;
}

.am-form fieldset {
  margin-top: 15px;
}

.am-form fieldset legend {
  color: #fff;
  border-radius: 12px;
  background: #202747;
}

.heading{
  text-align: center;
  font-size:0.8em;
}

.center-align {
  width: 300px;
  height: 80px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: table;
  margin-top: -40px;
  margin-left: -150px;
}


li a[href="/logout"],
li a[href="https://member.phidiaspropfirm.com/payment/cc-demo/update"],
li a[href="/member/payment-history"],
#widget-member-main-resources {
  display: none;
}

/* Progress bar */
.progress-container {
  width: 100%;
  background-color: #959ec7;
  border-radius: 5px;
  overflow: hidden;
  height: 30px;
}

.progress-bar {
  width: 0;
  height: 100%;
  background-color: #3c487b;
  text-align: center;
  line-height: 30px;
  color: white;
  border-radius: 5px 0 0 5px;
}

.am-body-content input[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  background: linear-gradient(to bottom, #202747, #3c487b);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.am-body-content input[type="submit"]:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to bottom, #202747, #3c487b);
}

.perso-title {
  font-weight: 700;
  padding: 1em 0.5em 1em 1em;
}
.am-form div.am-element-title {
  text-align: left;
}
ul.am-header-menu {
  display: flex;
  flex-direction: column;
}
.am-layout-two-coll .am-layout-two-coll-top,
.am-layout-two-coll .am-layout-two-coll-bottom {
  background: #fff;
}

.am-layout-two-coll,
.am-block,
.am-form form,
.am-block-nodata {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px auto;
  border: none;
  background: #ffffff;
}

.am-body .am-body-content-wrapper {
  box-shadow: none;
  background: #f1f5f9;
}

.am-layout-two-coll  h2 {
  color: #333333;
  font-size: 18px;
  margin-top: 0;
}
.am-footer .am-footer-content {
 padding-top: 0;
}

/* Stats */
.chart-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

#charts-container .box-chart-container{
  flex: 1 1 calc(30% - 10px); /* 3 items per row with some margin */
  margin: 0;
}

#charts-container {
  margin: 10px;
}

@media (max-width: 900px) {
  #charts-container .box-chart-container{
      flex: 1 1 calc(50% - 10px); /* 2 items per row with some margin */
  }
}

@media (max-width: 600px) {
  #charts-container .box-chart-container{
      flex: 1 1 calc(100% - 10px); /* 1 item per row with some margin */
  }
}
.box-chart-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
}

.box-chart {
    margin-top: 15px;
    height: 300px;
}

.netPnl,
#payoutDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trading-days-block-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
}
#label-select {
  display: block;
  font-weight: 600;
  font-size: larger;
}

#label-select {
  margin: 0 10px;
}

.account-select-block {
  display: flex;
  gap: 10px;
  margin: 10px;
}

.center {
  display: flex;
  flex-direction: column;
}
#consistency,
#profit{
  width: 60%;
  height: auto;
}
.first-line-bloc {
  width: 18%;
  min-width: 200px;
}

#specific-account,
#charts-container {
  width: -webkit-fill-available;
  display:flex ;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
#charts-container {
  gap: 10px;
}

.trading-days-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5px;
    padding: 5px;
    /* width: 225px;  */
    height: 225px;
    background-color: #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* PNL Block */

.block-pnl .trading-days-number {
    font-size: 32px;
}

#totalPNL {
    margin-top: 15px;
}

.block-pnl .trading-days-label {
    margin-top: 5px;
}

/* End PNL Block */

.trading-days-number {
    font-size: 48px;
    font-weight: bold;
    color: #333;
}

.trading-days-number-x {
  font-size: 48px;
  font-weight: bold;
  color: #333;
  display: none;
}

.blurred .trading-days-number {
  display: none;
}

.blurred .trading-days-number-x {
  display: block;
}

.trading-days-label {
    font-size: 24px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.button-and-payout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}
/* Fin refonte graphique */

.am-main {
  max-width: none;
}

:root {
    --menu-width: 200px;
}

.am-header-line {
    height: 0;
    margin-left: var(--menu-width);
}

/* Header */
.am-header {
    width: var(--menu-width);
    position: fixed;
    top: 0;
    bottom: 0;
    transition: left .2s;
    z-index: 10010;
    overflow: visible;
}

.am-header-menu-toggle {
    display: none;
}
.am-account-toolbar-items .am-tabs-narrow-dashboard {
    display: none;
}
.am-tabs-narrow-switch {
    margin-right: 1em;
}

.am-account-toolbar .am-account-toolbar-items {
    padding: 0;
    background: none;
}

.am-header-content-content {
    overflow: hidden;
}

.nav-close-btn {
    text-decoration: none;
    float: right;
    margin: 0 1em 1em 0;
}

.nav-close-btn::before {
    content: "\f00d";
    color: white;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.dashboard-content-mask {
    opacity: 0;
    background: black;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    visibility: hidden;
    transition: all .2s;
    z-index: 10005;
}

@media all and (max-width: 699px) {
    .am-tabs-narrow-switch,
    .am-tabs-narrow-dashboard {
        display: block;
    }
    .am-lang-title {
        display: none;
    }
    .am-account-toolbar {
        margin-bottom: 0.5em;
        overflow: visible;
        z-index: 10;
    }
    .am-account-toolbar-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        box-shadow: 0 1px 5px grey;
        border-radius: 0;
    }
}


@media all and (max-width: 699px) {

    .am-account-toolbar a {
        display: inline-block;
    }

    .am-header-logo-wrapper {
        display: none;
    }

    .am-header-content-content {
        display: block;
    }

    .am-header {
        left: calc(-1 * var(--menu-width));
    }

    .am-header-line {
        margin-left: 0;
    }

    .dashboard-nav-close {
        display: block;
    }
    .dashboard-nav-toggle-btn {
        display: inline-block;
    }

    .nav-toggle .am-header {
        left: 0
    }

    .dashboard-content {
        margin-left: 0;
    }

    .nav-toggle .dashboard-content-mask {
        opacity: .7;
        visibility: visible;
    }
}

.am-header .am-header-content .am-header-logo-wrapper a {
    display: block;
}

.am-header .am-header-content .am-header-content-logo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  display: block;
}
/* Style du tableau */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

th {
    background-color: #f2f2f2;
    text-align: left;
    padding: 8px;
    font-weight: 800;
}

  /* Style des cellules du tableau */
td {
    /* border-bottom: 1px solid #ddd; */
    padding: 8px;
}

tr {
    border: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.search {
    border-radius: 0.25rem;
    border-width: 1px;
    margin: 1rem auto;
    padding: 0.5rem;
}
.account {
    font-weight:600;
}
.acctStatus {
    border-radius: 9999px;
    padding: 8px 12px;
    color: #fff;
    font-weight:600;
    text-transform: capitalize;
}
  /* Pagination */
nav{
    margin-top: 20px;
}
.pagination {
    display: flex;
    justify-content: center;
}
.am-body-content-wrapper .payout{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.payout-tab {
    margin-bottom: 40px;
}
#export{
    margin-bottom: 15px;
}
.pagination button {
    background-color: #fff;
    border-color: hsl(216, 12%, 84%);
    color: #6b7280;
    padding: auto 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    border-radius: inherit;
    cursor: pointer;
}
.pagination button:nth-child(2) {
    border-radius: 20px 0 0 20px;
}
.pagination button:nth-last-child(2) {
    border-radius: 0 20px 20px 0;
}
.pagination button:nth-child(1),
.pagination button:nth-last-child(1) {
    border-radius: 20px;
    margin: 0 5px;
}

.pagination button a {
    color: #6b7280;
    text-decoration: none;
    padding: .5rem .75rem;
}
.pagination button:hover {
  background-color: #f3f4f6;
}

.pagination > .active {
  background-color: #1b213c;
}
.pagination button .active {
  color:#fff;
}

/* Style de base pour la barre de recherche */
.search-bar {
  position: relative;
  width: 300px;
  margin: 0 auto;
}

/* Style de base pour le champ de recherche */
.search {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}

.challenge-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f7ff;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); */
}

header {
  text-align: center;
  padding: 20px 0;
  background: #202747;
  width: 100%;
  border-radius: 35px;
}

.am-common header h1 {
  font-size: 2.5em;
  margin: 0;
  color: #fff;
}

header p {
  margin: auto;
  margin-top: 10px;
    font-size: 1.5em;
    color: #f4f5fb;
    max-width: 42%;
}
header i {
  margin: 10px 0;
  font-size: 1.2em;
  color: #e0e0e0;
  display: block;
}

.challenge-container button,
.challenge-container button:hover,
.challenge-container button:active {
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: large;
  font-weight: 600;
  padding: 15px 40px;
  margin: 5px;
  border-radius: 50px;
  cursor: pointer;
  background: #d3b574;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  border: none;
}
.am-common .challenge-container button a{
  color:#202747;
}
.challenge-container button:hover {
 scale:1.1;
 opacity: 0.9;
}
.disclamer {
    background-color: #527bce;
    color: #fff;
    font-size: large;
    text-align: center;
    font-style: italic;
    padding: 10px;
    margin-top: 20px;
    border-radius: 30px;
}

.challenge {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.challenge-result {
  display: flex;
  gap: 20px;
}

.rules {
  max-width: 750px;
  color: #737373;
  font-size: larger;
  background-color: #fff;
  padding: 60px;
  border-radius: 10px;
  margin-top: 20px;
}

.challenge-container .rules h2 {
  margin-top: 0;
  font-size: 1.8em;
  color: #a0b9eb;
  position: relative;
  z-index: 1;
}
.challenge-container .top-section h2 {
  margin-top: 0;
  font-size: 1.8em;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}
.top-section {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.top-section tr:nth-child(even) {
  background-color: #f2f2f2;
}

.top-ten, .other-accounts {
  margin-top: 20px;
}

section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

section th, section td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #c8c8d4;
}

section th {
  background-color: #a0b9eb;
  color: #fff;
}

section td {
  background-color: #f1f5f9;
  color: #2c2c2c;
}

section tr:nth-child(even) {
  background-color: #2c2c2c;
}

.top-accounts {
  background: linear-gradient(130deg, #527bce, #b4b3f7);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  width: 64%;
}

tr.current_user td {
    font-weight: bold;
    color: #df6975
}

.hall-of-fame {
  background-color: #df6975; /*#ffeb3b;*/
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  z-index: 0;
  color: #333;
}

.hall-of-fame th {
  background-color: #ec7a86;
}

.top-ten {
  background: linear-gradient(130deg, #353573, #4747a1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.top-ten th {
  background-color: #a0a0d3;
  color: #fff;
}

.other-accounts {
  background-color: #ff7043;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.other-accounts th {
  background-color: #bf360c;
  color: #fff;
}

.challenge h2 {
  color: #a0b9eb;
  border-bottom: 2px solid #a0b9eb;
  padding-bottom: 5px;
}

.challenge ul {
  list-style: none;
  padding-left: 0;
}

.challenge ul li {
  background: #f1f5f9;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid #a0b9eb;
  list-style: none;
}

.challenge i {
  display: block;
  margin: 20px 0;
  font-style: italic;
  color: #ccc;
}

.challenge a {
  color: #a0b9eb;
  text-decoration: none;
}

.challenge a:hover {
  text-decoration: underline;
}

/* Countdown */
.countdown {
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.countdown h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.countdown-element {
  background: #f1f1f1;
  border-radius: 10px;
  padding: 20px;
  width: 100px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.countdown-number {
  font-size: 2.5em;
  font-weight: bold;
  display: block;
}

.countdown-label {
  font-size: 1em;
  margin-top: 10px;
  color: #555;
}

.leaderboard {
  text-align: center;
  margin-top: 40px;
}

.leaderboard ul {
  list-style: none;
  padding: 0;
}

.leaderboard li {
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.2em;
}
.dashboard-tab{
  width: auto;
  margin-top: 20px;
}
.dashboard-tab h2{
  text-align: center;
  color:#fff;
}
.next-countdown{
  margin-top: 20px;
}
.btn-container{
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.ranking-countdown .countdown-element {
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}
.challenge-container .next-challenge h2 {
  color: #a0b9eb
}
.top-section.custom-flex {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.cert {
  display: flex;
  justify-content: center;
}

ul.precondition-list {
    margin: 0;
    padding: 0;
}

ul.precondition-list li {
  list-style-type:none;
  margin-bottom: 1em;
}

.ui-widget-overlay {
    opacity: .7!important;
}

/** Payout Ranking Page */

.payout-ranking-page {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  align-items: flex-start;
  gap: 20px;
}
.payout-ranking-page .all-payout {
  width: 100%;
}
.payout-ranking-page .payout-ranking-container {
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 10px;
}
.payout-ranking-page h1 {
  text-align: center;
  color: #202747;
  font-weight: 700;
}
.payout-ranking-page table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.payout-ranking-page th,
.payout-ranking-page td {
  padding: 12px;
  text-align: left;
}
.payout-ranking-page th {
  background-color: #202747;
  color: white;
}
.payout-ranking-page tr:nth-child(even) {
  background-color: #f2f2f2;
}
.payout-ranking-page .status-failed {
  background-color: #f8d7da !important;
}
.payout-ranking-page .status-success {
  background-color: #d4edda !important;
}
.payout-ranking-page .status-in_progress {
  background-color: #fff3cd !important;
}
.payout-ranking-page .no-result {
  text-align: center;
  color: #777;
  padding: 20px;
}

.payout-ranking-page .first-place {
  background-color: #fdf2b8;
  color: #333;
  font-weight: bold;
}
.payout-ranking-page .second-place {
  background-color: #e1e1e1 !important;
  color: #333;
  font-weight: bold;
}
.payout-ranking-page .third-place {
  background-color: #ffe0c0;
  color: #333;
  font-weight: bold;
}

.am-list-subscriptions_divider {
    display: none;
}

#menu-custom-link-33170241{
    background: #ddac17;
    color: white;
}
ul.am-header-menu .has-children ul {
    margin-left:4.5%;
}

ul.am-header-menu a {
    padding: .8em .5em;
}

ul.am-header-menu > li > a::after {
    display: none;
}

ul.am-header-menu > li:hover > a {
    background: #d3b574;
    color: #202747;
    transition: all .6s;
}

ul.am-list-subscriptions li {
    background: #efefef;
    border-radius: 5px;
    padding: 1em;
    margin: 0 0 .4em 0;
}

@media (min-width: 750px) {

    .am-list-subscriptions {
        height: 540px;
        overflow: auto;
    }

    .am-list-subscriptions.am-list-subscriptions-both-empty {
        height: 140px;
    }

    .am-list-subscriptions-no li {
        font-size: 2rem;
    }
}

.am-list-subscriptions li:last-of-type {
    margin-bottom:0;
}

.am-list-subscriptions-no {
    display:flex;
    flex-direction: column;
    justify-content: space-around;
}

.am-widget-rithmic-account,
.am-widget-project-x-account,
.am-widget-volumetrica-account,
.am-widget-rithmic-evalution-cert,
.am-widget-rithmic-payout-cert,
.am-widget-rithmic-evalution-contract,
.am-widget-credit-wallet {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: none;
    background: #ffffff;
    box-sizing: border-box;
}

.am-rithmic-top-layout {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

@media (min-width: 600px) {
    .am-widget-rithmic-account,
    .am-widget-project-x-account,
    .am-widget-volumetrica-account,
    .am-widget-rithmic-evalution-cert,
    .am-widget-rithmic-payout-cert,
    .am-widget-rithmic-evalution-contract,
    .am-widget-credit-wallet {
        width: calc(50% - 1em/2);
    }
}

@media (min-width: 700px) {
    .am-widget-rithmic-account,
    .am-widget-project-x-account,
    .am-widget-volumetrica-account,
    .am-widget-rithmic-evalution-cert,
    .am-widget-rithmic-payout-cert,
    .am-widget-rithmic-evalution-contract,
    .am-widget-credit-wallet {
        width: auto;
    }
}

@media (min-width: 1400px) {
    .am-rithmic-top-layout {
        flex-wrap: nowrap;
    }

    .am-widget-rithmic-account,
    .am-widget-project-x-account,
    .am-widget-volumetrica-account,
    .am-widget-rithmic-evalution-cert,
    .am-widget-rithmic-payout-cert,
    .am-widget-rithmic-evalution-contract,
    .am-widget-credit-wallet {
        width: 100%;
    }
}

.am-cert-list,
.am-contract-list {
    max-height: 290px;
    overflow: auto;
}

ul.am-cert-list li,
ul.am-contract-list li {
    margin-bottom: .6em;
}

.am-list-subscriptions-links {
    min-height: calc(1em + 18px);
}

.am-product-tag {
    font-weight: bold;
}

ul.product-type-select li {
    transition: all .5s;
    padding: .2em 1em!important;
    font-weight: bold;
    border-color: #202747!important;
    background: #202747!important;
    color: white!important;
    border-radius: 0!important;
}

.product-type-select li.selected {
    border-color: #ddac17!important;
    background: #ddac17!important;
    box-shadow: none!important;
}

[id^=row-product_id_page] input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

[id^=row-product_id_page] .am-element {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

[id^=row-product_id_page] .am-element label {
    padding: 2em 4em;
    transition: transform .3s ease-out;
    border-radius: 15px;
    border: 2px solid #ddac17;
    color: #ddac17;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow:  0px 0px 5px #dfe8f0;;
    max-width: min-content;
}

[id^=row-product_id_page] .am-element .am-product-title {
    padding: 0 1em 1em;
    font-size: 1.4rem;
}

[id^=row-product_id_page] .am-element .am-product-terms {
    color: #202747;
    font-weight: bold;
    font-size: 1.4rem;
    padding: .5em .5em 1em;
    border-bottom: 1px solid #ddac17;
    line-height: 1em;
}

[id^=row-product_id_page] .am-element .am-product-desc {
    display: none;
}

[id^=row-product_id_page] .am-element .am-product-tag {
    padding: 1em;
    color: black;
    font-weight: normal;
}

[id^=row-product_id_page] .am-element label:has(input[type="radio"]:checked) {
    background-color: #2f6245;
}

[id^=row-product_id_page] .am-element label:has(input[type="radio"]:checked) .am-product-title {
    color: white;
}

[id^=row-product_id_page] .am-element label:has(input[type="radio"]:checked) .am-product-terms {
    color: #ffc000;
}

[id^=row-product_id_page] .am-element label:has(input[type="radio"]:checked) .am-product-tag {
    color: white;
}

[id^=row-product_id_page] .am-element label:hover {
    transform: scale(1.05);
}

.am-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

input[type=submit] {
    white-space: break-spaces;
}

.widget-title {
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: .5em;
    font-weight: bold;
}

.am-credits {
    display: none;
}