/* Create account btn and cancel btn on the ACC REGISTRATION */
.btn.primary#create:hover{
  text-decoration: underline;
    /* transform:scale(1.02); */
    cursor: pointer;
}

.btn#create:hover{
  text-decoration: underline;
  cursor: pointer;
}

.REG {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(4px);
  }
  
  .REG-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px #0000004d;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* Modal animations */
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }

  @keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
  }
  
  .REG-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
  }
  
  .REG-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--text);
  }
  
  .close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
  }
  
  .close-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg) scale(1.1);
  }


.REG-body {
    padding: 24px;
  }
  
  .account-form {
    display: grid;
    gap: 20px;
  }
  
  .form-group {
    display: grid;
    gap: 8px;
  }
  
  .form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
  }
  
  .form-group input,
  .form-group select {
    appearance: none;
    border: 1px solid var(--border);
    background: #ffffff08;
    color: var(--text);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff0d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 166, 118, 0.2);
  }
  
  .form-group input::placeholder {
    color: var(--muted);
  }
  
  .help-text {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
  }
  

 
    
  .checkbox-group {
    margin-top: 8px;
  }
  
  .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
  }
  
  
  .checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  
  .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background-color: #162E28;
    position: relative;
    flex-shrink: 0;
  }
  
  
  .checkbox-label:hover .checkmark {
    border-color: #66b38c;
  }
  
  
   .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #cfffeb;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background-color: var(--accent,);
    border-color: var(--accent,)
  }
  
  .checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
  }
  
  .checkbox-label a {
    color: var(--accent);
    text-decoration: none;
  }
  
  .checkbox-label a:hover {
    text-decoration: underline;
  }
  

  
  .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  
  .form-actions .btn {
    margin-right: 0;
  }
  
  /* Responsive REG */
  @media (max-width: 600px) {
    .REG-content {
      width: 95%;
      margin: 20px;
    }
    
    .REG-header,
    .REG-body {
      padding: 16px;
    }
    
    .form-actions {
      flex-direction: column;
    }
    
    .form-actions .btn {
      width: 100%;
    }
  }
  /* REGISTRATION FORM CSS ENDS HERE */




  /* OLD CHECKBOX CSS, checkmark wouldnt show*/
    /* .checkbox-group {
    margin-top: 8px;
  }
  
  .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
  }
  
  .checkbox-label a {
    color: var(--accent);
    text-decoration: none;
  }
  
  .checkbox-label a:hover {
    text-decoration: underline;
  } */
