@import "../../../../assets/scss/abstracts/variables";
@import "../../../../assets/scss/abstracts/mixins";

.rdg-blocks .rdg-blocks-promote {
  width: 100%;
  background-color: var(--color-rdg-promote-site-bg);
  border-radius: 1rem;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom: .3rem solid var(--color-rdg-promote-site-header-border);
    background-color: var(--color-rdg-promote-site-primary);
    padding: 10px;
    color: var(--color-white);
    font-size: 2rem;

    .promote-left {
      display: flex;
      align-items: center;
    }

    .promote-name {      
      font-weight: bolder;
      margin-left: 10px; 
    }

    .promote-right {
      margin-left: auto; 
    }

    .promote-offer-amount {
      padding: 5px 15px;
      border-radius: 4px;
      font-size: 18px;
      font-weight: bold;      
    }
  }

  .body {
    background-color: var(--color-rdg-top-winners-body-bg);     
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 0px 1rem;

    .promote-content {
      display: flex;
      width: 100%;
      align-items: center;

      .promote-offer-description {
        font-weight: bold;
        color: var(--color-primary); 
        margin-right: 2rem;
        width: 60%;
        margin: 0 auto;
        
        &::first-line { 
          font-size: 1.2rem;         
          color: var(--color-rdg-promote-site-primary);
        }
      }
    }  
      .promote-action-button {
        width: 40%;
        text-align: right;
        button {
          color: var(--color-white);
          font-weight: bold;
          display: inline-block;
          padding: 20px;
          background-color: var(--color-promote-site-button-success);
          border: 2px solid var(--color-promote-site-button-success);
          border-top: 2px solid var(--color-promote-site-button-success-border);
          border-radius: 0.6rem;
          margin-right: auto;
          align-items: end;
        }
      }
    }

    .promote-features {
      list-style: none;
      padding: 10px 20px;
      background-color: #d8d8d8;
    
      li {
        color: #4a4a4a;
        font-size: 1rem;
        margin-bottom: 10px;
        position: relative;
        padding-left: 40px;
        
        &:before {
          content: '';
          display: inline-block;
          margin-right: 10px;
          background-image: url('../images/check-mark.svg');
          background-size: cover;
          width: 24px;
          height: 24px;
          position: absolute;
          left: 0;
          top: 50%;
          transform: translateY(-50%);
        }
      }
    }
    
  .footer {
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
    padding-top: 10px; 
    padding-bottom: 30px;

        .terms {
            font-weight: bold;
            color: var(--color-rdg-promote-site-gray-dark);
            padding-left: 10px;
        }	

        .age_terms {
            color: #000;
            font-weight: bolder;
            text-align: center;
            padding: 1px;
            border: 2px solid red;
            border-radius: 50%;
            padding: 3px;
            max-width: 2.5rem;
            max-height: 2.5rem;
            font-size: .7rem;          
        }
  }
}

